fixes problems for newer php version

Changed Generator to T3D_Generator to prevent problems with newer php versions

see also: https://github.com/GarageGames/Torque3D/pull/475