Support postgreSQL 'postgresql://' scheme.
Remove localhost
Merge pull request #1632 from sangpire/master

Support postgreSQL 'postgresql://' scheme.