re-enabled non-asm.js shared lib support

This commit involves minor changes to jsifier to not output code for the shared modules that belongs to the parent module.

Tests are all re-enabled, but there is a problem with `test_dlopen_alias` due to:

	azakai: looks like INCLUDE_FULL_LIBRARY=1 conflicts a bit with the new LEGACY_GL_EMULATION check

@kidanger sorry for procrastinating on this, not sure if it's still useful to you.