add batch processing to Parse API
refactoring and API change: replace usages of Elements.Document and
Elements.RawDocument with the new classes Elements.RootElement and
Documents.Document to prepare for proper handling of rewrite rules when
batch transforming