Full rework of original code/plugin redmine-gollum.