Added option to convert to MySQLi during upgrade

This should help us make peoples migration to MySQLi easier to do.

Signed-off-by: SleePy