Changed from JavascriptCore to UIWebView

Change from using JavascriptCore to using a hidden UIWebView. I've also refactored to make
the code similar to the Android version and included a Podspec to make it installable with
Cocoapods.