require that Document klasses always be bound with a database instance
add a Bind klass
add an 'a' attribute to Document objects which returns the raw dict for the document
this allows the document's dict to be referenced from templates without competing with methods which are attached to the Document
add addToSet
support inc-ing a field which doesn't exist in the pymongo stub
add addToSet to Document
make the entire bound store available to bound Documents
allow the common store object to be overridden.  rename to 'x' for easy referencing
raise the builtin AttributeError when __getattr__ doesn't match anything
fix: raise the builtin AttributeError when __getattr__ doesn't match anything
add drop
CONTROVERSIAL: move the documents dict to the .a attribute.  Rational is to avoid ambiguity in templates.
document.foo will always be an object attribute/method
and document.a.bar will always be an item which is persisted in mongo
as_class requires the supplied object to provide __setitem__
add ability to define a Document's collection indexes
fix DeprecationWarning
add __repr__ for documents; make database available on bound objects
prevent .drop from being called on Document instances
typo
add unset
add a refresh method
fix refresh