Removed use of one more iterator (HitsIterator)

o Instead directly implement a PrimitiveLongIterator that goes from
Hits --> long.
o Some minor cleanup