Allow LinkProtocol to be compared directly against integers

From [ticket:26227#comment:8]:

All attributes of the LinkProtocol are derived from its integer version, so it would be perfectly fine to do equality and hash on that.

Thus: implement __eq__() (and __ne__()) to allow a LinkProtocol instance to be compared directly against integers.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information