2.x support

Support for Redmine 2.x.
Tested on 2.3.0
SHOULD be compatible to 1.4, but it's not been tested