[cpp] add a version header+functions

this way, it is possible to get (either at build time and at runtime)
the version of the current poppler-cpp library

poppler-config.h is generated by the build system (autotools or cmake)
with the correct version information
5 files changed