Added BitReader class for bit-wise reads

New BitReader (stream adapter) allows more complex bit-wise reads. The
base encoders work the same as before, but this should make it easier to
implement Base62.