Added ability to query the last successful build number by job and branch
Hardened last successful build number request