Initial commit
fixes and tests
Merge branch 'master' of https://github.com/Codearte/delta-encoder