enhancements to bit slicer

to support DEFLATE compression, which is in prototype and incomplete
form in a test.