Fix (allow-none) for arrays
Fix (allow-none) for arrays

Previous check rejected non-string and non-object in all cases,
even when null was allowed.

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

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