WIP: Relax version constraints for restoring backups and invoke db:migrate after restore
- Parse backup and app versions: CE/EE, major/minor/patch
- Abort if backup is EE and app is CE: this is likely to be an admin mistake. All other CE/EE combinations are OK.
- Abort if backup major/minor/patch is newer than app
Closes #3366 (moved)