Clean up the alarm creation and checking methods

The setAlarm and alarmExists convenience methods can simply ask for
the AlarmType from the caller instead of having to pick it based on
a boolean passed in. This makes the code easier to read all around.