Give GTTree some love

This is some things I needed while writing tests for #198. It adds enumeration & equality support to GTTree, as well as a convenience `-contents` accessor.