cppcheck: fix uninitMemberVar
cppcheck: fix stlSize
cppcheck: fix cstyleCast
cppcheck: fix useInitializationList
cppcheck: fix variableScope
Merge pull request #27 from toxeus/cppFixapi

cppcheck: fix some issues
add headers to cmake