Implement runAnalysis for the CMake world

The following discussion from !148 (merged) should be addressed:

  • @lmoureau started a discussion:

    The last test not implemented in CMake is runAnalysis.sh. We need to split the script in two parts, first to run the ntuplizer in CMSSW and then to run the analysis in LCG.