Use jQuery hasClass() to check features.

Replaces code that manually checked className using regular expressions.
Better detection of off-site links.

Check hostnames rather than if a URI scheme is present.
Merge pull request #8 from gauthierm/nburka-bug-868199-unified-download

Cleanups to GA code