Fix overlaps with new beampipe.
Set Global cache at beginStream time for Stream modules

Bug fix: originally the setGlobal wasn’t done until beginRun. However, if there was an exception between beginStream and beginRun time, the endStream method of the stream module would be called and if globalCache() is called, it would be given a nullptr.
Merge pull request #2702 from ianna/overlaps-with-new-beampipe

Geometry -- Fix overlaps with new beampipe.
Merge pull request #2704 from Dr15Jones/setGlobalAtBeginStream

FWCore/Framework -- Set Global cache at beginStream time for Stream modules
Merge remote branch 'origin/CMSSW_7_1_X' into CMSSW_7_0_X