Allow searching by namespace name, include public projects

GITLAB-1457 (GITLAB-836)

Change-Id: If8e2474bc6908accca51f395f58937687f101b58
Escape strings

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Check if a file is editied "on" a branch or a commit.

The previous behavior was a "disabled" link, which was still clickable
and linked to the edit file action.

If the 	user accesses a path like "/edit/master/README" show the file
edit form (just like before).

If the user accesses a path like
"/edit/8d5c1f375ce99e5df84e26b0eafbf1448c6a001e/README", redirect the
user to the file detail page with a note, that he cannot edit a file
"on" a commit.

fixes #5482
Merge pull request #5484 from jojosch/edit-file-on-commit-disable

Check if a file is editied "on" a branch or a commit.
Respect the configured redis URL when initializing the session store

It was not possible to start Gitlab with a redis server running on another host or port. Every other subsystem that uses redis respects the settings in config/resque.yml.

This patch uses the configured url from the cache_store configuration.
The cache_store configuration already loads the correct redis url from config/resque.yml.

Closes #5406
Merge pull request #5474 from vollnhals/patch-1

Respect the configured redis URL when initializing the session store
Best to escape strings not split them

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Update gitlab_git to recent version
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Shell escape code search
Merge pull request #5475 from nkukard/esc-strings

Escape strings
Correctly escape search query
Require gitlab-shell v1.7.3
Merge pull request #5435 from karlhungus/feature_search_namespace_name_and_public

Allow searching by namespace name, include public projects
Merge pull request #118 from gitlabhq/master

Update