Add a --version parameter

Most programs have this parameter, because of very good reasons which I'm
currently too tired for to write down.

In the current implementation, the version string is a simple #define, but
in an ideal world, this $version would be determined by the build system
or the version control system, like `git-archive`.