JsonDiff: completely separate {pre,in,post}LCS()

Now, the meat is to simplify inLCS(). And find a better overall algorithm,
hopefully.