Fixed Loopholes in scheduler.
I noticed that the days that the reminders that were createdby the script were dismissed if they were in the past. This was how it was designed, however, now that we are looking to see if they were missed by having the phone off or if the phone was on and missed I needed to find a way of detecting where in the week we currently are.

This was done using logic from JodaTime. The loophole is now fixed and dates are correctly intialised and no false missed are logged.
Also changed how the scheduler works and changed database handler.
Database closeDB(); methods have been included where leaks were occuring before.

Next Feature:
Audio Reminders