Adds the preferences endpoint
Merge pull request #43 from carldanley/add-preferences-endpoint

Add the /preferences endpoint