queueAndExecuteBatchedOperations

This is a currently-experimental method that allows JS to queue and immediately execute many instructions at once. Since we make 1 JNI/JSI call instead of N, this should significantly improve performance.

The arguments operate as a byte buffer. All integer command IDs and any args are packed into opsAndArgs.

For the getValue callback: since this is batched, we accumulate a list of all requested values, in order, and call the callback once at the end (if present) with the list of requested values.