updated manual and fixed deflate bug
added Travis tests