PLN: Fix bit-rot, re-enable build

fix assorted bitrot afflicting the old PLN code.  Re-anable its build, and run the unit tests too