Add fetching of current branch from git to Configurations class

https://github.com/fs/codeclimate_ci/issues/30
Better to use https://github.com/libgit2/rugged