Refactor file structure for CGI related stuff.

Move all CGI related stuff into their own subfolder to prevent directory
listing from growing even larger and to make `CgiRequest` and
`CgiResponse` classes reusable for upcoming FastCGI server API.