Fix findOne() call in DocumentPersister::exists()

The first paramter needs to be a map of fields and not a list of mappings.

Until now exists() always returned false.
Test case for DocumentPersister::exists() fix (#870)
Merge pull request #870