Updated mysqldump.php to support multiple database and custom PDO options.

WARNING: Constructor signature has changed!
NOTE: Although PDO supports several database types, this update only includes sqlite in addition to MySQL.