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.
please use `strtr` and try to keep the format of the code