MySQLi Adapter

PHP has deprecated the mysql extension as of 5.5.0
This adapter is a quick port of the MySQL Adapter using MySQLi's
procedural style.
Testing needs to still be done.