Add `occ upgrade` command.

Assuming you meant /upgrade.php, this addresses #5529