If we can't serialize an object we should error, not fail silently.
Merge pull request #4 from mikebryant/master

In ajax_request, if we can't serialize something it should raise an error instead of failing silently.