Made all WebView actions run on the main thread
Made all WebView actions run on the main thread
Added gradle to build and run tests