Added __init__.py info to package, moved TopLevelDocumentMetaclass to base.py, added tests for dictionary-style access.