Encapsulate db and module configurations

Comparing #4 with #5

Content

[...]
Now you have three configuration files: <b>main.php</b>, <b>db.php</b> and <b>modules.php</b> (I thought about to create a components.php too, but it sounded as unnecessary)



*ps: English corrections are welcome. I am not an expert =)

 
### Links
 
[Chinese version](http://projects.ourplanet.tk/node/101)