Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
is the first clause correct? shouldn't it be simply `!this.$projectData.projectDir`?