Convert hash syntax to ruby 2.0 standard
Add basic API CRUD actions for managing users
API: return correct error code when validations fails (e.g. 422)