[webos] modulemapper refactor for platform plugins.