Fix apply_driver_hacks for various mysql drivers, rather than just the default driver.

Currently the fix for #2 only considers the default mysql driver. This means none of the hacks get applied if you're using other drivers, e.g., [oursql](http://packages.python.org/oursql/). This pull request will ensure hacks are applied to all mysql drivers, therefore fixing #48.