Added travis config

Also made a little tweak to the Makefile so it'll compile on Ubuntu
travis builds on Ubuntu after all. But seriously Ubuntu, why is your
libpq header not in /usr/include but in a subfolder? And of course
libpq is not in pkg-config...