Update MySqlConnector.php to fix a bug when the unix_socket param is used Edit

Fix a bug when the unix_socket param is used.
1/ According to the PHP doc, unix_socket and host[port] should not be used together. This bug causes an error on the Google App Engine platform that needs the use of the unix_socket param.
2/ When the unix_socket param is used, the dbname param is ignored by the PDO object used underneath. the connect() function has been updated to call explicitly the 'use dbname' mysql command in this case.

The test case DatabaseConnectorTest has been updated to follow these changes.