dotcase: s/sleep/cancel/ for alarm

Change-Id: I927def82c18a49432c21988bceddc8e0e7c3b335
dotcase: clean up time code

Change-Id: I9df8957dbf6e66aa6544255b263b6e689a80c481
dotcase: satisfy my ocd

Change-Id: If3536238e72f3117efa582227f09d931663173b1
dotcase: ensure we're the top when ringing

* If screen is on when the phone starts ringing or the alarm goes
  off, we won't end up being the top activity.
* Kick off a thread when we start these that ensures we're the
  top activity for the duration.
* Snuck in a reset_timer when ring starts as well

Change-Id: Ie3acc960d47ebf73b29de490e1f8224eca59f82b
dotcase: cleansing

* Implement a boolean to kill off the thread that keeps our
  activity at the top to ensure it doesn't run when it shouldn't
* Turn ringer and alarm booleans off when killing activity
* General cleanup

Change-Id: I1667f9111c26a8ab0a2590f76327ef6060b474eb