carefully import ES and DDR model_fields; avoid circular imports

This is somewhat resolved by elasticsearch's function having been
renamed to _model_fields.