The Formulation of Polymers by Polymerization–Polycondensation Processes: Polyimide Based Systems