Move prompt logic from webworks-cli to cordova-cli

Follow up to https://issues.apache.org/jira/browse/CB-6241