bit: Add package bit which implements convenient handling of bitstreams.