Fixed critical bugs with the MySQLi module

Wrongly named configuration file didn't exist, now it points correctly.
Added shutdown function for the MySQLi module.