Added equals and hashcode to LinkValue types

Any activity which contained a LinkValue could never be equal to another
activity because LinkValues previously did not have equals overridden.