[lib_dump] support mysqli environment

```php
$mysqli_link = mysqli_connect($host, $username, $passwd, $dbname);
$dumper = new MySQLDump($mysqli_link,'filename.sql',false,false);
$dumper->doDump();
```