Use Dictionary
Bench: Style fix
FreqMap: Add Binary instance
Dictionary: Add Binary instance
TermIndex: Add Binary instance
Dictionary: Make more typesafe
Dictionary: Add strictness
Many changes