Integration of new jet flavour into PAT

This PR integrates new jet flavor (PRs #2395, #3025, and #3228) into PAT. It also addresses some of the problems reported in https://hypernews.cern.ch/HyperNews/CMS/get/physTools/3137.html

@vadler and @monttj, please have a look and let me know if you find any issues.