Handle pgpass

The native client as well as the js client should now read the pgpass file, if no password specified (should follow the same rules as libpq).

fixes #475 and fixes #455