Merge pull request #56 from toxeus/cppFixapi

cppcheck: fix more warnings
cppcheck: fix call of pure virtual function