Make shared require use rootURI it's loaded from.
Merge pull request #1687 from Gozala/shared-require-test@1070927

Bug 1070927 - Make shared require use rootURI it's loaded from.