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-coursescleanup: Added docstrings and improved format/style in several places