Fix some bugs caught by the tests suite:
Fix some bugs caught by the tests suite:

* Pass missing parameter to do_object
* Return resulting class from do_object. This could be fished out of
  `idents`, but it's easier to return it than make the caller find the
   id again.

zenhack/python-gtkclassbuilder