Revert "removed mysql index tweaks from importer"

This reverts commit 18793583e3141ecfc57cbefdcbdcc0fc0ebf408f.
removed mysql hacks, added hook methods to importer