Cleaned up some of the logic to make the example more useful.
…f "location.replace". [Fixes #6]
Add more detail on error handling and callbacks. [Fixes #4]
…ipt.callFunction caused calls to undefined functions to fail silently.
…directly. This simplified much of the code, and helped fix memory management issues for block-based callbacks. UIWebView category exposes more built-in objects now.
Implemented support for non-object return values from forwarded invocations.