EXP-371. EntityId equality, hashing, and comparison needs work

issue: https://jira.kiji.org/browse/EXP-371
review: https://review.kiji.org/r/1587