Bug fix: changing a module did not set getByToken code

When an EDLooper changed a module, the infrastructure used to properly setup getByToken was not called.

This functionality is only used by fireworks. It needs to be back ported since fireworks is being actively used in 7_1_X.