add checks for MariaDB

Added check for MariaDB to mysql.pm and mysql.t, tests all just worked.