Allow to null out cancellation token

+review REVIEW-5254
Expose public API GradleConnector#useProjectDistribution()

+review REVIEW-5254