Added MySQLi::checkEnvironment

I'm not sure that's a good idea (using require at all)