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.