Adding authenticated public mode (internal).

Added visibility_level icons to project view (rather than just text).
Added public projects to search results.
Added ability to restrict visibility levels standard users can set.
gitlab-grack up to 1.1.0

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use 1.9 hash syntax for some tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Read-only email field for LDAP user

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix default branch being cached and show old one after change

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Improve preview/edit links for comment form

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Rollback preview button href

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Minor UI improvements

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'feature/readonly_ldap_email' of /home/git/repositories/gitlab/gitlabhq
Merge branch 'bug/default_branch_cached' of /home/git/repositories/gitlab/gitlabhq
Merge branch 'improve/preview_button' of /home/git/repositories/gitlab/gitlabhq
Merge branch 'authenticated_public_mode' of https://github.com/jhollingsworth/gitlabhq into feature/internal_projects

Conflicts:
	app/models/project.rb

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Show issue open state as label
Improve UX of project visiblity level. Improve "Public Access" help page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Restyle public access help page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Remove unnecessary \" symbols

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge pull request #5701 from gitlabhq/feature/internal_projects

Feature: Internal projects
Capybara tests with first-child/last-child randomly fails so replaced with alternative method

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'improve/show_issue_state' of /home/git/repositories/gitlab/gitlabhq