Update MySqlConnector.php to support Sphinx

Sphinx is one of the 4 main search engines PHP has documented and provides classes for.

http://www.php.net/manual/en/refs.search.php

Sphinx uses the mysql protocol as an interface.  The problem is when passing collate the connection to sphinx fails.  The patch will not include collate in the connection if in the config file its set to null.

Thank you

(Original Ticket #3519)
Merge branch 'patch-2' of https://github.com/chrispassas/framework into chrispassas-patch-2
Working on code.