add prdiff subcommand and test suite

The CLI interface gets fully tested :)