Converted slave_get_db_pass from PHP to Perl

PHP is not a scripting language. An installation script should not be in
PHP. Since no encryption is necessary, I'm making the switch.

I'm writing to a separate file to prevent breaks in compatibility until
I get the entire installer converted.