[CB-7820] cordova platfrom restore stops if a platforms fails to restore

handles restoration for each platform separately so that if one fails installation for
others continues. Also makes a change on how the host is checked to allow such errors
not to completely halt the execution.