Parse some basic command line arguments. Currently just 'version' and 'help'.
This should be called before anything else, but especially before initialising MPI.