Adds a debug-dump-facts command for dumping the facts.

Facts can be dumped from factsets or snapshots, and
can be filtered by attribute and/or entity.
Run at least three tests (coverage and avoid random exhaustions).
Merge pull request #415 from ambiata/topic/debug

Adds a debug-dump-facts command for dumping the facts.