Implemented SDATA decompression algorithm.

Fixed SDATA debug mode handling and other small bugs.
Update README.md
Merge pull request #2 from Hykem/master

SDATA decompression