Added Branches API

Hello, here comes a branches api impl. Sadly, I was only able to test it from the 6.2.2 branch due to my gitlab version (5.0.1, quite old :/). You may want to test this from master first on a fresh install ;)

Also note that the create seems not be implemented on my version as i get a "method not allowed" from gitlab as i try to post there.