deprecate registerModule and getModule (code health)

deprecate these methods
make existing modules use require or define
for legacy modules self initialise on define (note fixme)
override setting to stop this for purpose of test suite

Change-Id: I51feb11d9119a54498936413bd8d63c9c86234aa
Merge "deprecate registerModule and getModule (code health)"