Remove module caching & cleanup
Remove module caching & cleanup

Remove module caching, as this relied on object equality and doesn't trigger
for modules referenced from different project modules anyway.

Also, some minor cleanups like comment removals & a slight restructure of a
function.

wikimedia/mediawiki-services-restbase,gwicke/restbase,eevans/restbase,eevans/restbase,wikimedia/restbase,milimetric/restbase,Pchelolo/restbase,Pchelolo/restbase,inverno/restbase,d00rman/restbase,wikimedia/hyperswitch,wikimedia/mediawiki-services-restbase,d00rman/restbase,cscott/restbase,cscott/restbase,milimetric/restbase,inverno/restbase,gwicke/restbase,wikimedia/restbase