Merge pull request #1 from cmbruns/master

Improve handling of PBD compression difference runs that span multiple read() calls.
POM: add missing junit dependency

This fixes the build.