Handle scripts in CMake

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

  • @lmoureau started a discussion: (+1 comment)

    About scripts:

    • CommonTools/scripts/template: I guess this should be ported. Swapping the BuildFile.xml for a CMakeLists.txt shouldn't be too hard. Adding the add_subdirectory() to the top-level CMakeLists.txt might be a bit more annoying.
    • Normalisation/scripts/{getLumiFromJSON,getPUfromJSON}: Install without changes? They'll only work with brilcalc in path but that's fine?
    • PUprofile/scripts/{getDataDiffPUprofile,getDataPUprofile}: Same? They require pileupCalc.py

template has been ported in !148 (merged)