Integration of new jet flavour into PAT

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