Revert all recent commit so that the plugin is now a standard redmine plugin again

I left the work for turning it into a gem in the "gem" branch and plan
to continue later...