better compatibility of RecoTauQualityCuts with packed candidates

Except for functions that use BOOST, everything in RecoTauQualityCuts should now be adapted to also run with PackedCandidates and tracks.

The functions filterCand, filterCandRef, filterTrack, setPV and setLeadTrack have been "validated" on a miniAOD file. No errors appeared during compilation or runtime.