Support for DBI \%attr hashref

This is needed to correctly use DBD::CSV or other special DBD
parameters.
merged #296