Do not recursively prepare already-prepared array values (#611)

See: 8c3dad71c49f9a9b64942de5a900d7d2b155dc4f
Prepare mapped embedded objects in queries (#611)
Merge pull request #647 from doctrine/gh611

Query preparation improvements