[Validator] Added date support to comparison constraints and Range
feature #11673 [Validator] Added date support to comparison constraints and Range (webmozart)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[Validator] Added date support to comparison constraints and Range

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #3640, #7766, #9164, #9390, #8300
| License       | MIT
| Doc PR        | symfony/symfony-docs#4143

This commit adds frequently requested functionality to compare dates. Since the `DateTime` constructor is very flexible, you can do many fancy things now such as:

```php
/**
 * Only accept requests that start in at least an hour.
 * @Assert\GreaterThanOrEqual("+1 hours")
 */
private $date;

/**
 * Same as before.
 * @Assert\Range(min = "+1 hours")
 */
private $date;

/**
 * Only accept dates in the current year.
 * @Assert\Range(min = "first day of January", max = "first day of January next year")
 */
private $date;

/**
 * Timezones are supported.
 * @Assert\Range(min = "first day of January UTC", max = "first day of January next year UTC")
 */
private $date;
```

Commits
-------

60a5863 [Validator] Added date support to comparison constraints and Range
[Debug] Symfony debug extension
[Debug] a README for the debug extension
[VarDumper] algo to clone any PHP variable to a breadth-first queue
[VarDumper] symfony_debug ext. fast and memory efficient cloning algo
[VarDumper] add casters for per class/resource custom state extraction
[VarDumper] casters for exceptions representation
[VarDumper] casters for SPL data structures
[VarDumper] casters for PDO related objects
[VarDumper] casters for Doctrine objects
[VarDumper] casters for DOM objects
[VarDumper] interface for dumping collected variables
[VarDumper] CLI dedicated dumper and related abstract
[VarDumper] HTML variant of the CLI dumper
[VarDumper] spec for json based representation of PHP vars
[VarDumper] json dumper for interoperable displaying
[VarDumper] tests for JsonDumper
[VarDumper] tests for CliDumper
[VarDumper] tests for HtmlDumper