Initial cppcheck definitions and fixes.
More cppcheck fixes.
clang static analysis fixes.
issues from coverity
Merge pull request #41 from pantheon-systems/cppcheck

Initial static analysis support and fixes