More fixes for supporting Relative URL

* Fixes HTTP(S) clone
* Fixes assets (javascript/css)

1. Apply fix:

Change the necessary files.

2. Update config/application.rb

<pre>$ sudo -u git -H vim config/application.rb</pre>

Uncomment the line nr: 73

Change assets version in line nr: 69

<pre>config.assets.version = '1.0.1'</pre>

4. Update assets:

<pre>$ sudo -u git -H RAILS_ENV=production bundle exec rake assets:precompile</pre>

5. Restart gitlab:

<pre>$ sudo service gitlab restart</pre>

6. Clean browser cache

Finally clean your browser cache.

Site demonstration:

See: https://anezi.net/git for demonstration
User: demo
Password: demodemo