C++ version of fax-pnh-filter

This code duplicates the functionality of the fax-pnh-filter bash script
without calling any external processes.

BUG=chromium:1082306
TEST=unit tests, tast run printer.PinPrint*

Change-Id: Iaacb8aca5fdbf788800bb38a0ce66c9f0e12bc28
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/lexmark-fax-pnh/+/2276150
Reviewed-by: Sean Kau <skau@chromium.org>
Reviewed-by: Nikita Podguzov <nikitapodguzov@chromium.org>
Tested-by: Brian Malcolm <bmalcolm@chromium.org>
6 files changed