Fixing request.fullpath URL encoding

Let's assume your path is = "project/tree/master/This%20Is%20valid"
In this case gitlab renders a 404.

To fix this we should decode the path so that it looks like
"project/tree/master/This Is valid"
fix exemple js data in help/web_hook
Fixed tree logs for branches with slash. Fixed remember of path when switch branch
Merge pull request #2516 from jouve/fix_json_exemples_in_help

fix exemple js data in help/web_hook
Fix routing specs
Merge pull request #2484 from netdata/fix_url_encode

Fixing request.fullpath URL encoding
Rails upto 3.2.11
A bit of spinach tests
Merge branch 'master' of git://github.com/gitlabhq/gitlabhq