Updated version compatible with Redmine 2.2.0

Hi! I actualized plugin to work with latest Redmine versions.