Add check for driver based on dsn
Check if ['database'] is set as this is optional
Merge pull request #3 from lgoldstien/GenericDriverCheck

Add check for driver based on dsn