.travis.yml: introduce matrix build, add QA and make test

- add composer install
- install composer
- create db and ~/.pgpass