Commit version.h.

This is temporary until the version number is centrally controlled in
CMake (issue #235).
Remove unused version defines.