Cmg pat v5 18 from cmssw 5 3 22

recoil changes + output remote writing at CERN (backported + added  CERN option)