update _transformResponse to support angular 1.3.0

file upload does not work with angular 1.3.x because $http transformers api was changed