Prevent updating document url to the same url

Currently when using pushState in an app, it's possible that turbolinks will update the document url to an identical url, which simply causes an unnecessary refresh of the current page.