Add check task to LifecycleBasePlugin

- wire play tests against 'check' task

We need a general infrastructure to wire test/check related tasks / test components
to the LifecycleBasePlugin#check task

+review REVIEW-5263