First attempt at external DB server support

This adds additional parameters to support deploying MediaWiki with the database server on a host other than localhost (also cleaning up some whitespace and formatting to make puppet-lint happier).