Refactoring and finetuning of config file - database.php.
Added environment dependent directory for configuration files.
Edited reporting for environment called `testing`.