core: Set object ownership for Output
Output objects are exposed to scripts, and they have no parent objects, so QJSEngine can garbage collect them.
Output objects are exposed to scripts, and they have no parent objects, so QJSEngine can garbage collect them.