Update app/controllers/gitolite_hook_controller.rb

Fixed git command to update the mirror (bare) repos correctly, prior to this commit, branches were getting overwritten and therefore not appearing correctly in the Repository Browser.
Update app/controllers/gitolite_hook_controller.rb

Added --prune option to git remote update, so that it picks up deleted branches and other such changes.
Added SSH Key validation when a key is added
Added docs and fixed typo
Merge pull request #47 from roadhead/patch-2

Added SSH Key Validation
Merge pull request #46 from roadhead/patch-1

Fix branches showing up incorrectly in the Repository Browser
initial work on compatiblity with redmine 2.0+

most things should now work
changes last two rhtml files to rhtml
fix regexp warnings
RAILS_ROOT -> Rails.root
require redmine, principal and user