feat (resource): fix encodeUriQuery to allow slashes in $resource params

problem explained here : https://github.com/angular/angular.js/issues/1388