Snippets/Compare link

Description
Modify history pages changing the default "Compare selected versions" button to a link (bug 16165). This is useful to open diffs in a new window/tab. Based on script at en:User:Superm401/Compare link.js and work by User:Helder.wiki and others