Fix warning calculation for sourcePageId stat
Update OldRtfmContentExtractor

Use innerXHTML instead of calling saveHTML on each child node.
Move comment stats to removeWikiContentComment.
Standardize metadata stat label prefix.
Add recovery mechanism for locating stats.
Change regex delimiter to simplify pattern.
Update OldRtfmContentExtractor to check for incomplete content
Rewrite PageStatistics to handle more count types, messages, errors

Also omits items from output that aren't being used.
Fix PageStatistics::incrementStat and make getMessagesLabelFor public

incrementStat wasn't propagating changes to the stats array
Add check for number of elements added or removed

Added beginTransform and checkTransform methods to PageStatistics and
countAll method to RtfmQueryPath.
Convert add*Stat methods to use an options array

This makes it more obvious to see what options are specified from the
caller, and eliminates the need to specify unused options in some
cases.
Add assertValueStat and assertTransformStat

Also deprecated assertStat.
Update addTransformStat to handle the same options as addQueryStat
Add errorIfFound and errorIfMissing options to addTransformStat

Also applies to addQueryStat
Change order of arguments for addQueryStat and checkTransform methods
Add selector param to PageData::getHtmlQuery & add add*Stat methods
Fix issue w/ transformAll for 0 results & add constants for option keys
Update assert*Stat methods to allow asserting certain stats are 0

Also added a couple constants
Update code to call new add*Stat methods

Also updated tests to call new assert*Stat methods
Remove obsolete PageStatistics::add and addCountStat methods

Also removed obsolete HtmlTestCase::assertStat method
Add constants for stat messages

Also use consistent keys between options and stats
Combine two PageStatistics::checkTransform parameters

The new parameter $expectedElementChanges takes the total expected
additions/deletions.
Remove obsolete add*Stat methods from PageData

Also update a call in BrAtlForcedNewlineHtmlTransformer
Update a couple obsolete addCountStat calls