Refs #79, adds model for notification preferences.
Refs #79, adds unit test for Preferences model.
Refs #79, adds get-notification-preferences API script and test.