Moved hover card general bindings

These are now within a ready function in jquery.gcg.card.js, so they
have access to relevant local variables; also, the mouseleave binding is
once again a generic binding rather than being bound per link