GRAILS-10166 - Add support for querying embedded properties

I tried to isolate these changes to just the simple/key value data store. It might have been possible to integrate more cleanly by changing the NativeEntityPersister, but I didn't want to risk any breakage in that area.