Add version command.

@seanbrookes - Ready for review.