Made the PUT requests RFC compilant

PUT requests shouldn't redirect.
Redirected PUT requests didn't work with angular.js
See: http://zacharyvoase.com/2009/07/03/http-post-put-diff/