Some tidy work

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

- Improve MockDBConnectionProvider
- Simplified RedirectPropertyAnnotator
- Add RedirectPropertyAnnotatorTest::testAddAnnotationWithDisabledContentHandler
Merge pull request #122 from SemanticMediaWiki/tidy

Some tidy work