Console: Refactored a lot of the console stuff into a class to make calls to the console from Python a lot nicer. Eventually it should even be able to be used by consoleservice but needs a little more work (at the moment it's only used for starting the console). Also added in a few Tutorial specific functions to console such as 'inspect' which gives a summary of the the evaluated code block and flush to clear and optionally set globals.
Listmake will need to be rerun after this revision due to the new lib/common/console.py