CORE-3987: fixed a bug that was preventing us from being able to permanently delete apps
CORE-3988: generate an analysis ID if someone attempts to import an analysis with an empty ID
Merge remote-tracking branch 'remotes/origin/dev'