Added 2 tables to the local database to track the notifications and when the app is opened

Changes to models.js were only to update to the new method names for the
database.
Added tables NotificationsTable, OpenedAppTable.
Added functions:
writeToDatabase -> writeMedsToDatabase
writeNotesToDatabase
writeOpenedToDatabase
readMedsFromDatabase
readNotesFromDatabase
readOpenedFromDatabase
insertDB -> insertMedication
insertNotes
insertOpened
querySuccess -> queryMedSuccess
queryNotesSuccess
queryOpenedSuccess