gi: assert all arguments were released after invoking the function
gi: assert all arguments were released after invoking the function

Or at least assert the array indexes are as expected after iterating
through the arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=611603

joeshaw/gjs,magcius/gjs,pixunil/cjs,pixunil/cjs,joeshaw/gjs,joeshaw/gjs,mtwebster/cjs,mtwebster/cjs,magcius/gjs,endlessm/gjs,pixunil/cjs,endlessm/gjs,joeshaw/gjs,joeshaw/gjs,magcius/gjs,magcius/gjs,djdeath/gjs,djdeath/gjs,djdeath/gjs,magcius/gjs,endlessm/gjs,pixunil/cjs,endlessm/gjs,pixunil/cjs,mtwebster/cjs,djdeath/gjs,endlessm/gjs,djdeath/gjs,mtwebster/cjs,mtwebster/cjs