Use Unix Socket or Host and port

Referring to this (http://us3.php.net/manual/en/ref.pdo-mysql.connection.php) document explaining that unix socket should not be used together with Host and Port.
Missed an !

Can happen sometimes.
Updated the tests so that it passes now

As far as I know, it doesn't matter if dbname is listed before host or port. Could someone verify?
Decided to add the dbname at the end. Add exec use db name.

Makes it more general. Everbody does it like that. 

Added it for Unix Sockets.
Changed the tests so they pass again.
Updated the test so it now properly handles Unix Sockets.
Update DatabaseConnectorTest.php
Merge branch 'patch-1' of https://github.com/ipsq/framework into ipsq-patch-1
Cleaning up code organization.