Moves swf/inflate.ts logic into base/deflate.ts
Merge pull request #1630 from yurydelendik/deflate

Moves swf/inflate.ts logic into base/deflate.ts