Add "profile" option to DQMGenericClient

Basically it just does TH2::ProfileX(). This functionality is
something that looks like has been tried to use in
Validation/RecoTrack/python/PostProcessorTracker_cfi.py since ~2009,
but the functionality has not been provided by DQMGenericClient (or
its predecessors).