Minor Fixes to MongoDB Store

This fixes a couple items with the MongoDB store that make it compatible with the latest version of the Node MongoDB Native driver as well as handle a couple of argument validation issues.  It also includes some of the other patches that I have previously submitted in previous pull requests.