Add -v flag to log version to the console.

Helps people identify what version they're on for when they report it on GitHub, etc.