implement Bits on BitDocSetNative
fix line endings
switch to off-heap for bitset