Changed to use new SkinTool.ready event for registering the theme so that it doesn't prematurely load any tables (which happens inside the SkinTool constructor.  In particular, this conflicted with the Email module because that module sets the base directory for the templates table, but the skintool would cause it to load before the Email module even executes its constructor.