Feature: choose branch for project

I wasn't sure if this seems as a full pull request.

What it's doing is just add a field for the branch name which is then saved in the database. This is then get and set in the build's setbranch function when a new build is created.

What is missing is github branches support. Shall I had that too, or is this manual setting okay for now?