Forking implementation for GitLab v5

Change-Id: I36bbfc77c8cf895489ba78dd66fdd9d2b62ca891
Merge branch 'fork-v5' of github.com:amacarthur/gitlabhq into fork-v5