Fix bug in BitVector::Read() and Write() that has existed since the firs...

...t accelerated implementation :(  Also add a test that would have caught this bug, as lame-o penance, and clean up.