Use contentstore.drop_database instead of direct pymongo fns
Fix Pep8 errors.
Added assert that will fail once Opaque Keys lands.
Modified "TODO" to "TODO OpaqueKey".
reverting last commit to fix tests.
Fix remaining tests.
Move context_managers to base class, overridden by mixed.
fix merge conflict.