Add PJAX Support

This pull request adds an event for PJAX's `beforeSend` event. It's not a perfect match for `beforeunload`, as `beforeSend` does not fire if the next page has been cached already. This is more of an issue if you're going back in the browser's history.