LUCENE-5423 added failing test reproducing the problem
LUCENE-5423 fixing hashCode method to only iterate valid bits
LUCENE-5423 fixed getAndSet documentation
bits right of wlen should not be set