Expanded checkComposer() to run composer validate and to check the lock file against the SensioLabs security advisories checker. Also fixed undefined index errors.