Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
Actually, I can't because Javascript doesn't support overloaded methods.