Fixing event callbacks.
Too many arguments were being sent to events before, causing jQuery to
interpret them as real arguments and breaking behavior. I'm sure some
of the other XHR/etc errors are related to this.
Fixing 'any' string value arguments.
String values to 'any' arguments were not being escaped, which caused
parsing to break if a string wasn't JSON-valid. JSON.stringify is faster
than doing custom regex, so now all strings are just passed to stringify.