Extend angulars resource to be more restful.

The new RestfulResource will send POST requests when creating resources
and PUT when updating.
Implement profile updating from the view.
Implement change password functionality.