Only install database drivers when needed

They were taking forever to install on Travis.
Fix incorrect postgres connect URL