Refactor: libcrmcommon: best practices for CLI-option-related internal API functions
This is part of a project to ensure all internal library functions follow
current naming and copyright guidelines, and use the new standard function
return codes where appropriate.
This is also a good opportunity to go through all the command-line options to
improve help, formatting, etc.