Close wrapped cgi's STDIN so the process won't hang

Found child process of executed WrapCGI hanging waiting for more STDIN.
Explicitly closing the handle after writing seems to resolve this.
Do not delete the $upload->{headers} and clarified/simplified the code.
Merge pull request #238 from rwstauner/wrapcgi-stdin-hang

Close wrapped cgi's STDIN so the process won't hang
Checking in changes prior to tagging of version 0.9984.

Changelog diff is:

diff --git a/Changes b/Changes
index e66c482..5b5521c 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,14 @@ Revision history for Perl extension Plack

 Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.

+0.9984  Mon Oct  3 09:55:05 PDT 2011
+    [BUG FIXES]
+        - WrapCGI: Close wrapped CGI's STDIN handle (rwstauner)
+
+    [IMPROVEMENTS]
+        - WrapCGI: improved docs (chromatic)
+        - Request: Do not destroy HTTP::Body upload headers (mst)
+
 0.9983  Tue Sep 27 09:55:48 PDT 2011
     [BUG FIXES]
         - Fixed a typo in nginx FastCGI configuration
Fix access log middleware logger example
Document proc-title option
Short circuit Plack::Loader->load() if loading Plack::Handler throws exceptions.

This fixes a bug in perl 5.8 where require() puts entry in %INC even
if the compilation fails, which leads to Plack::Server:: fallback
unexpectedly works. For instance when FCGI.pm was not installed,
Plack::Server got loaded and eventually gave a runtime error.

This whole mess will be removed once ::Server fallback is really
deprecated and removed.
Make the ::Server fallback actually work.
Fix documentation about default size of $\
Merge pull request #253 from yannk/master

no brainer small documentation update.
Merge pull request #252 from nwellnhof/patch-1

Document proc-title option
Merge pull request #250 from hoelzro/master

Fix Plack::Middleware::AccessLog logger configuration example
remove auto_install
Checking in changes prior to tagging of version 0.9985.

Changelog diff is:

diff --git a/Changes b/Changes
index 5b5521c..5cd7b63 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,11 @@ Revision history for Perl extension Plack

 Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.

+0.9985  Mon Oct 31 13:11:19 PDT 2011
+    [BUG FIXES]
+        - Short circuit Plack::Handler fallback to avoid %INC bugs in perl 5.8 (mst)
+        - Fixed Makefile.PL to avoid Test::SharedFork interferring with Module::Install (ambs)
+
 0.9984  Mon Oct  3 09:55:05 PDT 2011
     [BUG FIXES]
         - WrapCGI: Close wrapped CGI's STDIN handle (rwstauner)
Checking in changes prior to tagging of version 0.9985.

Changelog diff is:
improve docs
Merge branch 'master' of github.com:miyagawa/Plack
make Plack::App::Cascade return last response from the cascade
remove URLMap from Cascade tests
Merge pull request #257 from ap/passthru-cascade

make Plack::App::Cascade return last response from the cascade