Don't use classes from modules until all modules are successfully enabled

Kohana_Exception and Debug::path can not be used until all modules are successfully enabled.