Rest API support

I've added the support for the Rest API available via Redmine (http://www.redmine.org/projects/redmine/wiki/Rest_api) 

It helps a lot to make plugins for Textmate or Sublime text, or even shell script via Curl.

Hope you will like it.