change so it doesn't smash PGPASS in front of the command

fixes OSError: [Errno 2] No such file or directory because it tries to
execute PGPASS=foo as a command
pep8
add test coverage that the env is set
fix password handling (v0.1.3)