Adding methods that allow proper use of SDNLink in Hash data structures

This commit adds methods equals, compareTo and hashCode, which
allows differentiating two objects, to SDNLink class.