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>