Adapt redmine_rate to Redmine 2.4.x