setLocale should not run for real devices

* add a check if the udid is null to determine if setLocale should run
* log message if we do/don't setLocale

ISSUE: 1611
Merge pull request #1614 from dandoveralba/set-locale

setLocale should not run for real devices
wait a bit for webviews to show up and fix safari callback issue