Added support for query over embeddable fields in mongodb. Fixed Issue #497.