Implement ExportedGObject, a convenience class to export GObjects on the bus.