Set REMOTE_PORT environment variable
Plack::TempBuffer: pre-load Plack::TempBuffer::* modules

Change the Plack::TempBuffer module so that we pre-load the ::PerlIO,
::File and ::Auto modules. These modules are really small, and by
use-ing them here we'll have them pre-loaded in pre-forking
webservers.
Merge pull request #328 from avar/pre-load-tempbuffer-modules

Plack::TempBuffer: pre-load Plack::TempBuffer::* modules
Implement psgix.harakiri. #329
Update scripts/plackup

Minor typo fixes.
Merge pull request #330 from chromatic/patch-1

Update scripts/plackup
Checking in changes prior to tagging of version 1.0004.

Changelog diff is:

diff --git a/Changes b/Changes
index 3509cf7..acbb0ef 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,13 @@
 Go to http://github.com/plack/Plack/issues for the roadmap and known issues.

+1.0004  Thu Sep 20 08:36:11 JST 2012
+    [NEW FEATURES]
+        - Added psgix.harakiri support in HTTP::Server::PSGI
+
+    [IMPROVEMENTS]
+        - Preload TempBuffer modules (avar)
+        - Documentation fixes (autarch)
+
 1.0003  Wed Aug 29 13:44:53 PDT 2012
     [BUG FIXES]
         - Fix Basic authentication error in case password contains a colon #319
Merge branch 'master' of github.com:plack/Plack
rename files
instruction for installing cpanm
t/Plack-Request/cookie.t: add documentation to some of the trickier tests

Change the t/Plack-Request/cookie.t tests to use three-arg is() for
the undef tests and the multi-cookie test.
document the cookies restriction with multiple values
Merge pull request #331 from avar/t-plack-request-cookie-docs

t/Plack-Request/cookie.t: add documentation to some of the trickier test...
typo
Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localize it

Some software such as CGI::Cookie does "exists $ENV{MOD_PERL}" to
check if it's running under mod_perl instead of just checking whether
$ENV{MOD_PERL} is true.

So that code that does this doesn't assume it's running under Apache
locally delete $ENV{MOD_PERL} instead of just setting its value to
undef.

Note that we're not doing "delete local $ENV{MOD_PERL}" because that
construct was introduced in 5.12, also note why we're doing it this
way in the code
http://perldoc.perl.org/5.12.0/perldelta.html#delete-local

So before we'd have:

    $ perl -MData::Dumper -wle 'our %hash = qw(MOD_PERL yes foo bar); { local $hash{MOD_PERL}; print Dumper \%hash; } print Dumper \%hash'
    $VAR1 = {
              'foo' => 'bar',
              'MOD_PERL' => undef
            };
    $VAR1 = {
              'foo' => 'bar',
              'MOD_PERL' => 'yes'
            };

And now we have:

    $ perl -MData::Dumper -wle 'our %hash = qw(MOD_PERL yes foo bar); { local $hash{MOD_PERL}; delete $hash{MOD_PERL}; print Dumper \%hash; } print Dumper \%hash'
    $VAR1 = {
              'foo' => 'bar'
            };
    $VAR1 = {
              'foo' => 'bar',
              'MOD_PERL' => 'yes'
            };
Merge pull request #333 from avar/delete-MOD_PERL-instead-of-setting-it-to-undef

Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localize i...
Merge branch 'master' of github.com:plack/Plack
Plack::Handler::Apache2: implement support for cleanup handlers

Change Plack::Handler::Apache2 to Implement support for the PSGI
environment cleanup handlers proposal specified at
https://github.com/plack/psgi-specs/wiki/Proposal:-PSGI-environment-cleanup-handlers. Being
able to emulate Apache-like behavior was the original reason for the
proposal, so it's fitting that we should have support for this in our
Apache compatibility layer.

The same patch should work pretty much as-is for Apache1 as well, but
I don't have access to an Apache1 server anymore so I've just
implemented it for Apache2.

Note that we check psgix.harakiri.commit after the cleanup handlers
have run in case one of the cleanup handlers sets that flag, if we
don't have any cleanup handlers we ask the server to child_terminate()
without setting up a PerlCleanupHandler.

This is perhaps a needles premature optimization (we could just get
rid of that if() entirely and always do "push_handlers"), but it
seemed to be superfluous to always set up a PerlCleanupHandler even
when we don't need any asynchronous cleanup, but only child
termination.

This patch is best viewed with "git show -w", I re-indented the
key/values in the $env assignment to fit the current coding style of
that file, but I didn't change any of the existing keys there. I only
added psgix.cleanup and psgix.cleanup.handlers.
Merge pull request #334 from avar/add-support-for-psgix_cleanup-to-apache2-handler

Plack::Handler::Apache2: implement support for cleanup handlers
Merge branch 'master' of github.com:plack/Plack