REVIEW-2346: some cleanup after review.

- use Fileresolver instead of project.file where possible
- avoid using "project.getServices().get", instead inject services directly
- minor other tweaks
REVIEW-2346: Fail with decent error message when Maven2Gradle conversion fails.