modules: build kits from the member modules

When kits are enabled, iterate over the enabled kits and build a library
from the objects of each module.

Change-Id: I0cb9739d5a3c516d989c156a44643a4f9e9bef08
module: depend on the dependent module object library

Change-Id: Id40b7c479ed91e5e740c81057f376b3b331c8dd6