Fix Haddock documentation for optionTypeMerge.
If no ungrouped application options exist, skip printing out their
header.
Add the 'group' function for creating option groups.

This was supposed to have been created long ago, but it was forgotten.
Bump version to 1.2.