mds: Generalize JournalPointer functionality

...so that we can use it places like Resetter too.  And use it
there.

Signed-off-by: John Spray <john.spray@inktank.com>
tools: update Dumper to use JournalPointer

Signed-off-by: John Spray <john.spray@inktank.com>
mds: Introduce mds_journal_format config setting

This is useful for testing, so that we can create an
old-style journal and then test the version migration
by changing the config setting.

Signed-off-by: John Spray <john.spray@inktank.com>
osdc/Journaler: include stream_format in dump()

Signed-off-by: John Spray <john.spray@inktank.com>