use spec reporter for tests
add *.swp files to .gitignore
add pq enums
refine tests for PQconnectdb