[2.2] [WIP] ResourceWatcher component refactored

## REBASED TO #4605

**Bug fix**: no
**Feature addition**: yes
**Backwards compatibility break**: no
**Symfony2 tests pass**: _yes_ (for old tests) and _partly_ (InotifyTracker is not yet finished)
**Fixes the following tickets**: -

This is refactoring of #391, which:

- Uses `EventDispatcher` component for events routing
- Uses `inotify` naming convention for event types (`IN_CREATE`, `IN_MODIFY`, `IN_DELETE`).

### Short overview

This component is here for tracking filesystem changes. You're registering directory or file resources to track with specific track name (`tracking_id`) and `start()` watcher. Watcher checks for FS changes after specific timespan and if some change occur (file/directory create/update/delete) - watcher dispatches `EventDispatcher` event with `resource_watcher.all`, `resource_watcher.tracking_id` names and `FilesystemEvent` as argument.

### Usage

#### Simplest possible way of FS tracking

Simplest tracking code would look like this:

``` php
<?php

$watcher = new Symfony\Component\ResourceWatcher\ResourceWatcher;

// track for any change inside `config` subfolder:
$watcher->trackByListener(__DIR__.'/config', function($event) {
    echo $event->getTypeString().': '.(string) $event->getResource();
});

// start listening
$watcher->start();
```

_best suitable `Tracker` and `EventDispatcher` would be instantiated for you, implicitly_

#### `track()` method

Extended usage looks like that:

``` php
<?php

use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\ResourceWatcher;
use Symfony\Component\Config\Resource;

$dispatcher = new EventDispatcher;
$tracker = new ResourceWatcher\Tracker\RecursiveIteratorTracker;
$watcher = new ResourceWatcher\ResourceWatcher($tracker, $dispatcher);

// track for any change in `view` subfolder to `twig.templates` tracker:
$watcher->track('twig.templates', __DIR__.'/view');

// track for `*.xml` files creations in `config` subfolder to `routing` tracker:
$watcher->track(
    'routing',
    Resource\DirectoryResource(__DIR__.'/config', '/\.xml$/'),
    ResourceWatcher\Event\FilesystemEvent::IN_CREATE
);

// add `routing` track listener:
$dispatcher->addListener('resource_watcher.routing', function($event) {
    echo $event->getTypeString().': '.(string) $event->getResource();
});

// add all tracks listener (listens to every tracked event):
$dispatcher->addListener('resource_watcher.all', function($event) {
    echo $event->getTypeString().': '.(string) $event->getResource();
});

// start listening
$watcher->start();
```

#### `addListener()` method

If you don't want to deal with `EventDispatcher`, `ResourceWatcher` can hide this detail for you:

``` php
<?php

use Symfony\Component\ResourceWatcher;
use Symfony\Component\Config\Resource;

$tracker = new ResourceWatcher\Tracker\RecursiveIteratorTracker;
$watcher = new ResourceWatcher\ResourceWatcher($tracker);

// track for any change in `view` subfolder to `twig.templates` tracker:
$watcher->track('twig.templates', __DIR__.'/view');

// track for `*.xml` files creations in `config` subfolder to `routing` tracker:
$watcher->track(
    'routing',
    Resource\DirectoryResource(__DIR__.'/config', '/\.xml$/'),
    ResourceWatcher\Event\FilesystemEvent::IN_CREATE
);

// add `routing` track listener:
$watcher->addListener('routing', function($event) {
    echo $event->getTypeString().': '.(string) $event->getResource();
});

// add all tracks listener (listens to every tracked event):
$watcher->addListener('all', function($event) {
    echo $event->getTypeString().': '.(string) $event->getResource();
});

// start listening
$watcher->start();
```

### WIP

`InotifyTracker` is not ready as i have problems testing it (no Inotify on MacOS). Help here would be highly appreciated - test suite is ready, requirement is to make `InotifyTrackerTest` green.