Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
`options` should be named `cwd` or should be a hash.