Replace ApiTestCase with PHPUnit_Framework_TestCase

- Move to `SMW\MediaWiki\Api` NS
- Replace `ApiTestCase` with `PHPUnit_Framework_TestCase` and remove ` ApiTestCase`
- Access to MediaWiki's `Api` during test is enabled through `SMW\Tests\Util\MwApiFactory`
- Add `SMW\Application` for external and internal instance access
- Add `SMW\MediaWiki\Jobs\JobFactory` which is accessible via `SMW\Application::getInstance()->newJobFactory()` to avoid having third-party developers wire up SMW internal objects directly.
- `SMW\Application` is introduced with this PR to gain access to the `SerializerFactory` & `Wikipage:Factory` object while allowing to mock those objects during the test.

```php
Application::getInstance()->getStore()
Application::getInstance()->newSerializerFactory()
Application::getInstance()->newWikiPage()
Application::getInstance()->newJobFactory()
```
If you really insists, I can can go some lengths and create `TitleCreator` + `WikiPageCreator` to outfactor the creation and resolve redirects but it still doesn't solve the issue in how to mock the store when accessing `Application::getInstance()->getStore`.