Adds utilities that allow text comparison of bindings.

This is unused in this branch.  Just preparation for upcoming branches
that will feature tests.