Changing definition to class to inherit params. Fixes #60

Changes the postgresql::validate_db_connection definition to a class so that it can legally inherit postgresql::params.