Add a version.hpp file

Can be read by CMake or in user code to determine the version
of the library.

Related to issue #4