Use the I/O cache with handler_cgi_base and handler_cgi.

Fix #411
Merge pull request #1053 from cherokee/cgi_iocache

Use the I/O cache with handler_cgi_base and handler_cgi.