Repository: Improved GetForEachRef

Removed unnecessary replace
Merge pull request #125 from marcelometal/improve_get_for_each_for

Repository: Improved GetForEachRef
Fix error message, make it generic
Improve mock/tests for GetBranch (re #123)
Add test for subject with tab (re #123)
Test GetForEachRef method instead of the one that uses it
Warily treat an empty or invalid pattern (re #120 and #123)
Merge pull request #127 from scorphus/test-get-for-each-ref

Warily treat empty or invalid pattern (re #120 and #123)
Correctly accept an empty pattern (re #120 and #123)
Improve GetForEachRef() tests (re #120 and #123)
Fix minimum number of expected fields
Add handler for `GET /repository/repo/branch` (fix #123)
Merge pull request #129 from scorphus/get-branch-handler

Add handler for `GET /repository/repo/branch` (fix #123)
Main: Fixing Branch handler
Refactoring CreateTestRepository

Now each git command is a function
Merge pull request #132 from marcelometal/some_fixes

Main: Fixing Branch handler
Merge pull request #130 from marcelometal/refactoring_create_repository

Refactoring CreateTestRepository
Added handler to return a list of repository tags