Update QualityFilter.cc

Fixed Spacings, Typo's and Spelling Mistakes, Improved consistency and removed std::, reco:: and edm:: due to namespaces being used above, thereby eliminating the need for their use.