History `onpopstate` event has been renamed to `popstate`

This change has been done to be more compliant with the standard HTML5 spec.
Both events are still present, and both of them are fired when needed.
Tests have been updated to only use the more standard one.