Workhorse to serve the output for format-patch
Now this is done by Rails which is sad for the Unicorn worker, so this is moved here. This commit excludes tests for now, which will be added after the weekend.
Part of fixing: gitlab-org/gitlab-ce#13999