Add #equals and #hashCode to Annotation to simplify equality checks

I accidentally removed these in a rebase a few days ago before it was merged to next_storage so tests in `net.opentsdb.storage.json.AnnotationMixInTest` are currently failing.