initial setup of qa tooling
fix duplicate insert
fix sql syntax for pgsql
Merge pull request #87 from owncloud/travis-etc

initial setup of qa tooling