More tree fun.

We store an array of the parent terms mapped to strings in a
database column, with special accessors to handle the mapping between
Arrays and Strings.