Decouple checks import from drush logic, so that we can reuse from the UI

Change-Id: I8c3a3b420c76ae7889ee96e91a0b2f95fc2b6b79
Merge "Decouple checks import from drush logic, so that we can reuse from the UI"