Bug 919021 - Convert ctypes over to use JS::AutoValueVector instead of its own array class.  r=terrence, a=lsblakk