Supported JSONP

Fixed a crush when getting issues with JSONP request.
[JSONP-Support](http://www.redmine.org/projects/redmine/wiki/Rest_api#JSONP-Support)