add support to publish git-flow branches
Created by: zzet
When we publish git-flow branches to repo and after it try visit page like http://gitlab.home/project/commits/feature/refactoring, where "feature/refactoring" is branch name, we got 404 error page.
This pull request fix this error.