adds an extended ci_controller that allows site_preferences to be queried before modules are loaded