Update LongHash to work like BytesRefHash.

- rename "key" to "get"
- update and add more tests