TIMOB-15781: Force webview methods to run on the main thread

https://jira.appcelerator.org/browse/TIMOB-15781

Test case in Jira.