Create branches.rb.  Move branch related actions there.  Add new methods for (un)protecting branches and creating new branches - which requires Gitlab 6.8-stable or newer. Added tests for new methods and fixed old tests looking for methods in old locations.
Merge pull request #43 from asedge/branch_refactor

support repository branches API