Make compatible with redmine 2.3
Merge pull request #1 from octaviogl/master

Make compatible with redmine 2.3