Deleting reminder will clean up database correctly

Added 'pragma foreign_key=on' after opening database, and leaving the
database connection open throughout the entire life time of the app. Not
sure best practices for this but it makes sense to leave it open I
think.
Close database connection in DataModel dealloc
Removed debug query I added by mistake