Major refactoring of unit tests.  Renamed doc_info to meta.  Added parsers for all document types.  Regenerated test/demo files.