common,ceph_filestore_dump: Utilities suppress library dout output by default

Suppress dout output with CODE_ENVIRONMENT_UTILITY
ceph_filestore_dump turns on dout output if --debug specified
Other utilities can enable --log-to-stderr --err-to-stderr

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Use cerr now that we aren't closing stderr

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Improve debug output by showing actual offset

Signed-off-by: David Zafman <david.zafman@inktank.com>
os: Add backdoor to skip journal replay and omap mount on fs mount

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add --skip-journal-replay and --skip-mount-omap

Fixes: #8231

Signed-off-by: David Zafman <david.zafman@inktank.com>
common: Add missing ghobject_t::decode() for json

Signed-off-by: David Zafman <david.zafman@inktank.com>
Add --type list to output objects in a pg in json
ceph_filestore_dump: Add remove object command and usage for new commands

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add list-attrs object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add list-omap object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add get-bytes object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add set-bytes object command

Signed-off-by: David Zafman <david.zafman@inktank.com>
ceph_filestore_dump: Add get-attr object command

Signed-off-by: David Zafman <david.zafman@inktank.com>