A general framework for multiple scattering of polarized waves including anisotropies and Berry phase