Bug 1070952 - Implement module reloading useful during development.

Can you please move the 3 lines above into a separate function which takes a `uri` argument?