Started to add some tests.
Tidy up names space.
Added notes.
Fixed issue with the revision labeller where a newly create project with an unknown status would throw an exception.
Fixed an issue where the git commit hash would always be the master branch rather than the branch being built.
Added tests.
Merge pull request #1 from kezakez/branchbuildingFixes

Branchbuilding fixes