Have JobApplier take a JobApplicationRepository in its constructor instead of generating its own, as ApplyController assumes that only JobApplicationRepository is ever used.

Update tests for JobApplier to reflect the constructor changes.
Update ApplyController#apply and its tests to use JobApplier, simplifying the code.
Remove unused constructor parameters and module imports from ApplyController.
Refactor JobApplier tests to reduce duplication.