support /project/PROJECT_NAME?ref=BRANCH_NAME
fix #21 and #25
partial fix for #18
Fix #18: updated git plugin to 2.3.1 (as a consequence, minimum supported version of Jenkins is now 1.568) and used git data to detect proper build
Merge remote-tracking branch 'DABSquared/develop' into use-git-plugin-branch-data
Changed getBuildBySHA1 and getBuildByBranch to use the jenkins git plugin BuildDate and Build information to determine if the build matches the branch / commitSHA1 we are looking for.