Postgresqlfixture

wait_for_postgres() is probably worst part of this pull but at least it blocks until postgresql is ready to handle queries from psycopg2.
Each test has its own psql instance in /tmp with port number appended to its name. Same for logfiles.