Configures locales according to the settings in BASE::_conf['locales']. It loops through BASE::_conf['locales'] and looks for the following config keys:
Loads configuration information from sys.inc.php and attaches the contents to BASE::_conf. It also takes care of configuring the settings for debug and development modes.