Added ROOT support to cmake.

Added the FindROOT module to get relevent root libraries and locations. Added such that if USE_ROOT is set to off ROOT is not added.
Corrected REVF flag output.