change signature of PQresultStatus and PQresStatus
add beforeEach function and add PQexecParams test
add travis configuration