PackageManager: Add optional prelaunch check step

This ability is protected by config overlays.

Change-Id: I0c80bd9ec6bda3d21557aaa9503f05ff86adf434
(cherry picked from commit 86705dd0cde9833f9e9a8761ea437a37e5555f6c)