generate metadata dumps as first pass, rev text as second pass dumps

Authored by ArielGlenn on May 17 2017, 11:02 AM.

Description

generate metadata dumps as first pass, rev text as second pass dumps

[WIP] backupPrefetch.inc will properly locate revisions, under the
contstraints that boards are in ascending order in the dump file, topics
are in ascending order in a board, posts at same tree level are in
ascending order. This is not currently true but it's required for
prefetch as a concept to work.

dumpTextPass.php is not yet rewritten to work with the new backupPrefetch.

This cannot be merged until a change to the regular dump maintenance scripts
is merged in core.

Bug: T164262
Change-Id: I787a26ff6004a875b71ef38905904b7c489f22d4