Add fix for API when branch names have periods in them.  Relates to issue #6128 (https://github.com/gitlabhq/gitlabhq/issues/6128).
Merge pull request #6929 from asedge/fix_api_branches_with_periods

Add fix for API when branch names have periods in them.  Relates to issu...