native code generator: components tweaking

We should survive without deployment_component_getFactory,
although Android build may need some changes.

ContextChangeEventMultiplexer seems to be useful.

Change-Id: I20544429425675449ad0471190968c5bfb97bbf9