Adding PATCH HTTP method and urlencode request data

The ability to urlencode request data, by providing the boolean "urlEncodeRequestData" in the config object, as part of the issue: https://github.com/angular/angular.js/issues/1743

Setting default headers and a short method for PATCH requests, as part of the issue: https://github.com/angular/angular.js/issues/899