lzma: hide the range decoder in the package

Also provided comments to the range encoder.