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

...ine

- 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.