fixed prepareQueryElement() "set" strategy issue
Remove unnecessary ternary statement
Test nested collection key queries with set strategy
Refactor DocumentPersister::prepareQueryElement()

Some object calisthenic improvements to appease @guilhermeblanco.
Return a tuple instead of modifying $fieldName param by reference