change imports
Model: Alarm: add a state diagram

	modified:   src/com/better/alarm/model/AlarmCore.java
continue work on the diagram
Continue to work on the diagram

	modified:   src/com/better/alarm/model/AlarmCore.java
Implemented Alarm State Machine

fixed #42:

	modified:   src/com/better/alarm/model/AlarmContainer.java
	modified:   src/com/better/alarm/model/AlarmCore.java
	modified:   src/com/better/alarm/model/AlarmDatabaseHelper.java
	modified:   src/com/better/alarm/model/AlarmStateNotifier.java
	modified:   src/com/better/alarm/model/Alarms.java
	modified:   src/com/better/alarm/model/IAlarmContainer.java
	modified:   src/com/better/alarm/model/IAlarmsManager.java
	modified:   src/com/better/alarm/model/Intents.java
	modified:   src/com/better/alarm/presenter/AlarmsListActivity.java
extract method advanceCalendar()
Introduced enableTransition

	modified:   src/com/better/alarm/model/AlarmCore.java

	this fixes #30
Handle refresh properly

	modified:   src/com/better/alarm/model/AlarmCore.java
	modified:   src/com/better/alarm/model/Alarms.java
	modified:   src/com/better/alarm/model/AlarmsService.java
Handle preAlarm duration change
Container: writeToDB when setEnable, setState or setNextTime

	modified:   src/com/better/alarm/model/AlarmContainer.java
	modified:   src/com/better/alarm/model/AlarmCore.java
Container: fix enable being no saved

	modified:   src/com/better/alarm/model/AlarmContainer.java
Merge branch 'alarm_sm' into develop