Redmine 2.x support
Merge pull request #3 from naitoh/master

Compatible with Redmine 2.x