Add indexes/automigrate/autoupdate/debug

/to @ritch 

The PR adds mongodb index support via LDL