Remove use of foreach with wrong function prototype and use g_list_free_full
While trying to build master I came across warnings of g_object_unref(void*) being casted to a GFunc(void*,void*) function pointer. Turns out that all over the codebase libgdata used the foreach method with g_object_unref to unref each GList GObject instead of using g_list_free_full.