Add upgrade command.
Error on dirty tree on upgrade.
Use s-present? instead of s-presence.
Merge branch 'upgrade-command' into v0.5-wip