Add spherical mesh generation etc. and some small changes

* Move MyCliArgs parsing to a function
* Don't use slashes at the end of output directory (consistent with python)
  os.path.join(...) removes trailing slashes.
* Pass ofstream into output functions from general problem
  Instead of writing the file handling code each time.
Give some of the "control scripts" files more sensible names