tools: ceph-monstore-tool: refactor cli parsing

Refactors cli parsing, providing a command-based interaction with the tool,
as well as leveraging subparsers to handle command-specific options.

Fixes: #10341