Adds the new `migrate` sub-command to migrate the COB database. Checks for version when opening the COBs database and suggests the command on out of date version. Also adds the 2nd migration to the COBs cache, which updates the patch JSON schema.