[CMSSW_5_3_X] Backport git and frontier_client from CMSSW_7_0_X