A tool for dumping the content of a store.

Very useful when debugging.
Merge pull request #2877 from thobe/1.9-dump-store

[1.9] A tool for dumping the content of a store