How can I make it so my cyanogenmod phone is silent for everything but calls and alarms?
What you are looking for is Cyanogen User Profiles which can be found in Settings->Profiles under the Personal section header. Pick a profile or create a new one and select what parts of your phone are active.