Added support for raw queries, added item getters, setters and deleters to Document class, so that people can use doc['foo'] to access document variables too (useful when using documents as dicts)