Auto-install platforms if none installed, was recently broken, fixed

If a project has no platforms installed, cca automatically installs platforms.
This was done by auto-upgarde.js and was accidentally removed in recent
refactoring in 97ab08ee9679e22f5de293bff356a00a873ff9d7
Reverting to this behaviour

Related to issue #272