Fix mergeMany() and composite keys.

mergeMany() needs to be composite key aware as tables/associations can easily have composite keys. I've used `;` as a separator as I've not seen many composite keys with them, and even when they do an out of  place `;` will still enforce uniqueness.

Refs #4817