Some tidy work

- Use $this->getDB()->getType() instead of $GLOBALS['wgDBtype']
- Simplify ParserOutput access
- Add MockDBConnectionProvider for better test readability
Some more tifdy work

- Add FauxDBConnectionProvider
- Simplified RedirectPropertyAnnotator
- Add RedirectPropertyAnnotatorTest::testAddAnnotationWithDisabledContentHandler