PIM-2354 Fixed uniqueness validation constraint with mongodb

| Q                   | A
| ------------------- | ---
| Bug fix?            | yes
| New feature?        | no
| BC breaks?          | no
| Tests pass?         | no
| Scenarios pass?     | yes
| Checkstyle issues?  | no
| Changelog updated?  | no
| Fixed tickets       | PIM-2355, PIM-2356, PIM-2357, PIM-2358
| Doc PR              |

@nidup I'd like to review with you the input data of `DateFilter::addFieldFilter()`. It seems that `$value` is sometimes a `\DateTime`, sometimes a string (eg.: 2012-04-17) and sometimes a timestamp.