Backed out changeset (bug 1037235) for breaking WebIDE (bug 1067331)

Revert "Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop"

This reverts commit 23bc56c8ba8ea07d1fa1975e12731b37fd9d7e5d.