Updated the add_extension in _config

Currently breaking 3.1 sites with error message: Fatal error: Object::add_extension() - Extension "SiteTree" is not a subclass of Extension in /Applications/MAMP/htdocs/nzqa-intranet/framework/core/Object.php on line 467
Is a 3.1 branch required?