Expose a 'defaultOptions' argument in Shell::getOptionParser().

This way, you don't need to rewrite the whole getOptionParser() when you
just need to omit the default options.