Added pjax:beforeReplace cancel

Added the ability to cancel pjax on the pjax:beforeReplace event.