switch to pg-connection-string module for parsing

I needed to use the parse method in another module so I pulled it out into its own module.  I also used tests from node-postgres that related to connection strings.