Add PrintObject constructor/destructor and XSP wrapper.
Change add/set_region/object wrappers to create the objects themselves.

This is to avoid having to take ownership of the objects from Perl.