Fulfill feature request #40

This PR adds a flag to specify a doing_file for the command line.
The changes are not huge but initialisation of the `@doing_file` variable in the `WWID` class had to be taken out of the class initialisation function and put in its own function: `init_doing_file`. This function is called in the `pre` block of GLI.