-Codechange: Various minor fixes found with clang --analyze

git-svn-id: https://freerct.googlecode.com/svn/trunk@1118 d3bf82d2-0c16-e458-5408-27be57bd1276
-Codechange: Let travis make use of 2 cores, and only report travis status if it changes.

git-svn-id: https://freerct.googlecode.com/svn/trunk@1119 d3bf82d2-0c16-e458-5408-27be57bd1276