change local psql url to use the socket when available

this should help with db:create/drop in unix and other
environments where localhost doesn't have permissions to create or
destroy dbs

see #2