BitVector: added appendBit(bool value, int n) and gitBitAllowOutOfRange().