Fix build
Merge pull request #14 from eile/master

Fix build
Removed custom code for tests and reuse CMake subtree.
Bumped gitexternals.
Merge pull request #15 from hernando/master

Removed custom code for tests and reuse CMake subtree.
Update CMake, cppcheck fixes