Setup build matrix to prepare for C++14 compatible compilers.

Since travis-ci does not natively support multiple clang and gcc
versions, the idea is to setup two different environments to test.
Later, there should be checks in the install section that
fetches and installs gcc-4.9 or clang-3.4 (depending on CXX) when CPP14
is set.