Prepare ForkService to support forking projects to given namespaces

Remove overload of BaseService.initialize, so initialize gains params,
which is used to pass the namespace (like e.g. in TransferService).

The namespace is checked for permission to create projects in it.
Add branch controller test.
Sanitize branch name and ref name
Update CHANGELOG for 7.5

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'prepare-fork-to-given-namespace' of https://gitlab.com/bkaindl/gitlab-ce into bkaindl/gitlab-ce-prepare-fork-to-given-namespace
Refactor project fork service

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Select namespace where to fork project

Now you can fork project into group or personal namespace.
Also I moved fork logic from ProjectsController to own fork resource

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Clean the string with commit author and email.
fix backup rake task
Gitlab.com uses special packages, build them first
Merge branch 'update-changelog' into 'master'

Update changelog

See merge request !1252
Routing specs for fork projects

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Update gitlab_git to 7.0.0.rc11
Run 'GC.start' after every EmailsOnPushWorker job
Improve fork to namespaces feature

* Show namespace thumbnail differently if project was already forked
* Show loading spinner when click on fork
* Fork link navigates to personal namespace only if no manageable groups exists

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'branch_name' into 'master'

Strip tags from branch name

See merge request !1251
Merge branch 'author_attributes_clean' into 'master'

Author attributes clean

See merge request !1254
Merge branch 'gitlab.com-packages' into 'master'

Gitlab.com uses special packages, build them first

See merge request !1255
Merge branch 'update-gitlab-git' into 'master'

Update gitlab_git to 7.0.0.rc11

See merge request !1256
Merge branch 'sidekiq_gc_start' into 'master'

Run 'GC.start' after every EmailsOnPushWorker job

This change removed a lot of large peaks of the Sidekiq memory growth graph on gitlab.com.

See merge request !1257