Audit GLib.Error handling.
Currently for literal GLib.Error objects we use new_literal
which takes a Quark
(our handling converts an Error/Enum type into this) but it also will accept any integer/number type. new_literal
converts this number into a pointer, we should investigate guarding this behavior to avoid converting JS numbers into pointers (or allowing it)
Additionally, there are a few other places that assume Object types that can cause segfaults.