Sub-objects are never indexed when explicit es_indexed: true is used. This fixes that. Fixes jamescarr/mongoosastic#69.
Fix indexing of sub-objects.
Add in index test to make sure that sub-objects are being indexed properly.
Merge pull request #74 from jeresig/fix-gen-map-objects

Sub-objects are never indexed when explicit es_indexed: true is used. This fixes that. Fixes jamescarr/mongoosastic#69.