Fixes to make coverity work correctly
Hopefully fix errors in travis config
Add coverity CLang avoid script
Coverity fixes