Add equals/hashcode to FlashMap

Brings consistency with the existing compareTo implementation.