Missing dependency for patching User model.

This issue is tracked on redmine-gitolite at https://github.com/ivyl/redmine-gitolite/issues/48 and on redmine at http://www.redmine.org/issues/11035.
Convert remaining RAILS_ROOT.
Require open3 where missing.
Add path to settings partial.
add require  dependency for models
Handle multiple repositories per project
change RAILS_ROOT to Rails.root
get repo name based on url
Fix parameters for edit repository
Add multiple repositories URLs on project overview page
Merge remote-tracking branch 'ntdt/master' into work