Update pg version. Update engine to node 0.8.18. Update node version in for travis.