Implements cmd> edit self

And, importantly, also converts the User schema to keeping an array of
object IDs rather than subdocs.