Added flip and shake to snooze

both the actions flipping the phone, and shaking the phone can do one of the following operations
1. do nothing
2. snooze the alarm
3. dismiss the alarm

has been taken from Artem AchepClock implementation for ICS deskclock
source at http://github.com/Achep/android_packages_apps_DeskClock

PatchSet2 : Eliminated White Spaces
PatchSet3 : Fixed a line issue
PatchSet4 : Updated Correct Author
PatchSet5 : Really updated Author
PatchSet6 : Fixed a few lines, in-line comments
PatchSet7 : Cleanup; addressed Danny's comments
PatchSet8 : More cleanup

Change-Id: Ifea8185690b07923b0c7cb3ab9b33ad5da7306e8