.travis.yml: restructure matrix build, add QA, add CMake builds
THRIFT-2807 PHP CS Fix

This closes #252

Patch: Roger Thomas