Updated OAIPMH exporter with threaded loader and adapted to new Document
stuff.