Moved DBexception to db.php
Add an mysql_error message at the constructor
If dbSelectOne returns more than one row throw DBException
Fix a bugg and make config a global variable
Fix a bugg
Fix another bugg
Better error message