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.  The simple and array link value types now override equals and hashcode.
* Added a test for LinkValue equality.