[5.0] Use Contract For Event Dispatcher

Should be 
```php
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Contracts\Container\Container as ContainerContract;
````
as `uses` are sorted in the order of the longest string.