Integration of new jet flavour into PAT

This PR is the first part of the closed #3408 after factorization. It integrates new jet flavor (PRs #2395, #3025, and #3228) into PAT.