cdodge/add-user-preferences: add access to the UserPreference table via the API

fixes
Merge pull request #56 from edx-solutions/cdodge/add-user-preferences

Cdodge/add user preferences
mattdrayer/api-userscleanup: Added docstrings and changed to fail-fast style