Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
You can omit the signature `[key: string]: IPlatformData` and it will be inferred. This will allow you to change your other code to: `this.platformsData.ios.projectRoot = ""` instead of `this.platformsData["ios"].projectRoot = "";`