Add 'optionTypeMerge', which lets option types parse repeated flags.

This will be used for emulating flag-parsing behavior in programs
such as GCC, which use let flags such as -l or -L be repeated.