Redmine 2 support & some refactor
small refactor
Merge pull request #6 from NEXSTEP/master

Added support for redmine 2.x