Fix Bits.contains(T) method. Added overloaded Bits.with(T) method to create a new Bits subclass with the specified flags.