Set travis to run the unit tests
Improved the handling of alarm frequency checking
Added some tests for the Alarm class