Update LongHash to work like BytesRefHash.

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

Closes #5693
Rename readPrimitive*Array()/writePrimitive*Array() methods

Make method names shorter and easier to read.

Closes #5711