Use libqes, also misc CMake fixes

Remove kmlib submodule, refactor all names to libqes, use system LIBQES,
add FindLIBQES.cmake, and fix up git version strings a bit.