User registration API

Includes the API to register a student and teacher
I first learned about that [here](http://ember.vicramon.com/creating-the-rails-api)