Make Tokens hashable

I am working on something in which I wanted to store tokens in a HashMap - this makes it easier :-)
Merge pull request #27 from andrew-d/patch-1

Make Tokens hashable