Add support for static analysis in travis builds.

Overload CC and CXX to get compiler support and add the static
analysis compiler.