Let ajaxify:history be prevented, because location.reload() is not always optional

Just a simple defaultPrevented check.

Also fixes a problem when back button action was prevented, because of skipHashchange was too greedy. Now it blocks hashchange only if hashes dont match