Active Polymer Nanocomposites: Application in Thermoplastic Polymers and in Polymer Foams