Have a version, with `--version` and in user agent

cc @KushalP 
This could be move up a few lines with the other top-scope variables for consistency.