Added mock_alarmsDB and mock_mozAlarms for testing Alarms
Fixed alarm.js to use error instead of result in onerror
Fixed alarm_edit tests. Moved to a new alarm_edit_test.js file.