Refactor ForksController
Problem
While working on Refactor ForkService class (!140575 - merged) I had to touch ForksController code.
I discovered that it's in a pretty bad shape and requires some refactoring.
Proposal
- Refactor ForksController
- Review its test suite and add missing tests