Trying to fix the Hashcode/Equals misery in Eventable and StateFlowGraph.

This concerns #155.

Right now the Eventable and StateVertex equals and hashcodes work, but the way we add it to the graph doesn't.