Use configured details for script/scrub-database

This change pulls configuration out of ActiveRecord configurations
rather than relying on hardcoded values for the database, username and
password.