fix Issue #285 - getOption returns false when option is set on command line

- It only returned true when an option from a config file
  was overwritten.

- Workaround the missing return value of std.getopt.getopt by comparing
  the lengths of the passed args.
Merge pull request #331 from dawgfoto/fix285

fix Issue #285 - getOption returns false when option is set on command l...