Moved __eq__(), hex() and bytearray() to BaseMessage. __eq__() now compares bytes().