Observe updates rather than execute operations imperatively. Also refine responsibilities of AppContext and CoreContext.
Sync will be enabled on upgrade for consistency with current behavior, and disabled for new installs. Fixes #227