MODE-2285 Corrected the index and index provider beahvior of the ModeShape subsystem for Wildfly

Several issues were fixed and tested.
I agree. My *only* theory is that the executor we're using is actually owned by Wildfly and doesn't normally have access to the non-exported set of ModeShape's classes.