Support command line option categories.

Patch by Dan Liew!
Implemented public interface for modifying registered (not positional or sink options) command line options at runtime.

Patch by Dan Liew!