[ConfigManager] Move CommandLinesOptions in the header to be used from outside.

This is one of the step to remove g_cmdLinesOpts. I.e. it'll be
replaced with an instance the caller has.