Use setting to define PageLayout
remove old moodle2_emulator.php file - all $this->dbc calls should be modifed to simple $DB calls too.
new required addinstance capability for Moodle 2.4
remove confusing settings class - put version info in version.php