Fix little endian encoding in IntCodec and LongCodec, fix BitVector#reverse