Issue 2 - change rule every day

Implements the feature, which required:

- Added core data
- Added some functions for initializing the data the app begins with
- Created initial database
- Added appsettings functions
- Appsetting for last viewed day (integer 1-7)
- Appsetting for last viewed rule text
- View controller is notified of application becoming active