Initializes the console.
This performs the following steps:
- Calls Namespace::init() to initialize the scripting namespace hierarchy.
- Calls ConsoleConstructor::setup() to initialize globally defined console methods and functions.
- Registers some basic global script variables.
- Calls AbstractClassRep::init() to initialize Torque's class database.
- Registers some basic global script functions that couldn't usefully be defined anywhere else.