Remove inconsistency of `cordova run` behaviour between WP8 and other platforms.

Adds '-wait' flag to CordovaDeploy.
Also removes unnecessary Program class.

This is PR for [CB-6654](https://issues.apache.org/jira/browse/CB-6654)