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()
```
My comment is about the `clear` method, not `getInstance`