Merge pull request #24 from lbjay/master

added commands to dump/restore the mongo database
fix for #456: database facet selection causes validation error