Adding code analysis with cppcheck and cpplint