Handle Apex exceptions passed back to javascript remoting

If an uncaught exception occurs in RemoteTKController, pass the error
returned by the javascript remoting call to the error callback.

*My change from #31 is included as well.*