Move reconciliation functions from pinchesAndCacti

Requires that you run "git submodule update --init" now.