Revert "Merge #35"

This reverts commit 0d394014439474dc2e80fb7fe208294ad67dc027.

Having jQuery's ajax handlers automatically wrapped is useful and should not
have been removed from the library without an alternative (the plugins system
they mention but did not implement).

Conflicts:

	.gitignore
handle the collectWindowErrors option higher in the call graph, which also
fixes an issue where errors were being lost when this option was enabled