Fix everything flagged by initial coverity scan
Merge pull request #16 from LinuxJedi/coverity-fixes

Fix everything flagged by initial coverity scan
Add coverity support to travis
Fixes to make coverity work correctly
Hopefully fix errors in travis config
Add coverity CLang avoid script
Coverity fixes
Fix typo in coverity rule
More coverity condition fixing
Hopefully finally fix coverity!
Add coverity badge