PostgreSQL stores: add port configuration

Closes catsop/CATMAID#4.