fixed issues when running with RAILS_RELATIVE_URL_ROOT

Created by: frohoff

fixed regression in grack auth when running with RAILS_RELATIVE_URL_ROOT fixed path extraction for git tree browsing with RAILS_RELATIVE_URL_ROOT

合并请求报告