Added GetNumberOfActiveEntities-hook for engine class for scripts to use
Changed casts from dynamic to static in collisionmanager to see if there is a performance hit with rtti. Changes to creation scripts