Add polling for cordova file plugin readiness in autoupdate

Experiments have shown that HCP breaks when cordova.plugin is attached but the
properties of it are not. So we add just another duck tape polling to retry if
necessary.