(Bug 60336) Fix sortkey for multibyte characters

- Use mb_substr( $this->rowSortkey, 0, 1 ) instead of $sortKey{0}
- Move some stuff around to be more expressive

Did an eyeball check because writing a test for the monster needs to be
done at another time.

[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=60336
Merge pull request #121 from SemanticMediaWiki/bug

(Bug 60336) Fix sortkey for multibyte characters
Update RELEASE-NOTES.md
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
Add new regression tests

Refactor PageAnnotationImportSystemTest

- Rename PageWithTemplateInclusionRegressionTest
- Add DatePropertyRegressionTest
- Add MwImporter to handle only the imported tasks
- Add MwImporterTestBase which encapsulate import and
setup tasks
Preliminary adoption of SQLite/SMWSQLStore3Query to make tests work

This is necessary to make sure that regression/integration tests run on
SQLite as well otherwise you get whole lot of errors.
Some tidy work
More clean-up

Split methods from MwImporterTestBase and
- Move asserts into SemanticDataAsserts
- Move data fetching into SemanticDataFetcher
- Add valueFormatter callback for assertThatPropertyValueIsSet
Improve readability
Merge pull request #112 from SemanticMediaWiki/regression-tests

Add new regression tests
Clean-up some common methods used in tests

- Move MockDBConnectionProvider
Use SemanticDataValidator
Remove PageCreator from MwIntegrationTestCase
Merge pull request #123 from SemanticMediaWiki/tests

Test clean-up
Update RELEASE-NOTES.md
Merge branch 'master' of ssh://review/mediawiki/extensions/SemanticMediaWiki