Added new compress method.  Fixes #41
Added test cases for CLI mode and compress method.
Bumped patch version.