Merge pull request from ansidev >> master

1. Restore old relationship between Note and Notebook
    - 1 Note belongs to 1 Notebook
    - 1 Notebook has many Notes.
2. Update view and controller to match changes.
    - Change displayed button and note background color if trashed note.
3. Updated latest database.