Add Redmine 2.1.x and 2.2.x compatibility (#61)