Print version number for --version.

I would do this before the errors, so that we are showing this all the time, similarly I would do help before errors.