Adds a search engine to allow semantic queries directly from MW's standard search

**(DO NOT MERGE YET. FOR DISCUSSION ONLY.)**

Activate it by setting in LocalSettings.php:
  $wgSearchType = 'SMWSearch';

This search engine will try to interpret the search term as a semantic query.

If succesful, the pages according to the query will be returned.
If not it falls back to the default search engine.

A custom fallback search engine different from the standard search engine can be set using $smwgFallbackSearchType. This is basically a replacement for $wgSearchType that is now used for SMWSearch

**Todo:**
* Tests
* RELEASE-NOTES (once SMW 2.0 is out)

**Any comments (in particular regarding architecture) welcome.**
This should do the trick:

```php
		$database = $this->getMockBuilder( '\DatabaseBase' )
			->disableOriginalConstructor()
			->setMethods( array( 'getSearchEngine' ) )
			->getMockForAbstractClass();

		$database ->expects( $this->once() ) //<--- a true mock as we expect it to be called only once
			->method( 'getSearchEngine' )
			->will( $this->returnValue( 'SearchEngine' ) );

		$this->assertEquals( 'SearchEngine', $database->getSearchEngine() );
```