Change GLib.PtrArray into GLib.GenericArray

This is the vala-friendly way of handling GPtrArray.
Fix several memory leaks on the go and unnecessary reference increase.
1 job for wip/tintou/gptrarray in 2 minutes and 47 seconds
Status Job ID Name Coverage
  Test
passed #978413
build-fedora

00:02:47