Added API for updating username and email for a given user

Accessible through the `/user/profile` endpoint, using a `PUT` request. Sanity tested through `curl`. There will be issues when changing the user's email address (ie. updating the SSA token on the client), but as far as I can tell there shouldn't be any additional work needed on the API side to make this work. Fixes #23.