Properly implement APUT as a store operation.

Allows us to log it without constantly having to dump
the other data as REPLACE ops.

Also fix a bug where Cyon would get stuck looping over
its state trying to reapply it over and over again.