Switch over to using mysqli over mysql (This is to ensure future
compatibility with PHP 5.5).

Upgraded ez_sql to latest version (including mysql driver for those of you
who find bugs with mysqli).
Add modified version of SafeSQL which supports mysqli, and updated
with php 5.4 bugfixes.
Fix character set with mysqli migration