Update plugin to latest Redmine version

Someone asked me to port this plugin to latest Redmine. I know you're now working on ChiliProject (are you still working there?) but maybe you'd like to review this PR and update it to work with latest Redmine...