Flatten module map for projects without platform

Now the module map component will have isMap flag set to differentiate between maps and package/platform structure. The map may be either on the package or nested platform object, depending on the specific project configuration.