Fix invalid ref, improve error message
Array diffing generates a context property containing patch operation context
Start working on patch context
Switch to forward patches with array index adjustment, removes need to reverse patches.  Invert context if present when inverting patches.