Add support for static analysis in travis builds.

Overload CC and CXX to get compiler support and add the static
analysis compiler.
Merge pull request #47 from smspillaz/yiqi.item_37

Add support for static analysis in travis builds.