bindings: fix bugs in appdata refcounting
bindings: fix bugs in appdata refcounting

For perl, values put on the stack must be moralized. For tcl,
Tcl_SetObjResult already does the increment of the result.

JacksonIsaac/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv