CG-2786: Added a version command line parameter which will output the version and then exit