Rewrote database handler

-Allows multiple database extensions (e.g. mysql, mysqli, ect)
-Cleaned up some of the code (Reused a few of Shadez's functions/naming to maintain compatibility)
-TODO: Add MySQLi support (next few days)