Provide automatically generated version.h file

I still think that it be nice to have the version defined in a header file. This commit adds an version.h that is automatically generated by auto*/cmake.