Adapt redmine_rate to Redmine 2.4.x

Can you merge my modifications ?

Regards.