OptionHandlerRegistry refactoring

The CmdLineParser class is quite big and contains a lot of different functionality.
This pull request is a refactoring of the option handler management functions to a new class called OptionHandlerRegistry. 
All existing visible methods are delegated to the new class and marked deprecated.

The CmdLineParser is getting a little smaller with this refactoring.