Eliminate dependency on parsetree, and with it zentest

For background, see:

https://github.com/integrity/integrity/pull/221
https://github.com/seattlerb/zentest/issues/28

This replaces #220, partially #221 and #228.