Thermodynamics of New Generalized Transport Laws for Liquids, Gases and Electrons in Matter