Refactor module registration

Refactor module registration so that it doesn't need to separately
track properties.

Test: builds, no change to out/soong/build.ninja
Change-Id: I030570bcca4e727a53f0c90121f69038d685a610
1 file changed