Migrate from ext/mysql to ext/mysqli; Fixes #14

Migration mostly done with help of automated tool provided by Oracle.

See: https://wikis.oracle.com/display/mysql/Converting+to+MySQLi
Merge pull request #16 from DigitalAustinPapers/14-mysqli

Replaces uses of mysql with mysqli