More work on LZMA.Encoder.
Finish implementation of lzma encoding.