Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
Yes, we need it, because `projectRoot` is declared in `IPlatformData` interface.