Allow dumping of Delegator subclasses

These objects can be mostly treated the same as objects, with the caveat
that the object being delegated to needs to be set through `__setobj__`,
rather than whatever instance variable it was stored as.

Fixes #100