Sawyer has OCD
Merge branch 'cleanup/tests'
Add test for GH #799:

A problem we had was that if you tried to log in core level
with a log format that used the request, the application would
crash because there was no request set at that point yet.

This is a test that verifies it works.

It currently assumes on the Capture logger to also capture the
formatted message, which will be added by a following commit.
Logger::Capture should also save format_message() format:

When logging using the regular loggers, they call the
format_message method, but the Capture didn't because it wanted
to save the pieces for better examination.

This caused GH #799 hard to test with the Capture logger.

Now it also saves the formatted string.
Set the request for engines and App earlier:

There is no reason to set the request only when a route is matched,
since it will be the same request no matter which route matched,
and if we have another request cycle, the request will also change.

This caused GH #799 in which, if you use a format that needs a
request, it crashes because the app calls a "core" log in a piece
of code in which the logger engine still hasn't rececived the
request object.
Corrections to logging:

* Have a default app_name ("-"), used mainly in tests.
* Avoid calling the request if no request exists.
* Cleanup some tests.
reflect change
Merge branch 'issues/gh-799'
Disable server tokens in production, remove unnecessary config for route caching
reflect change
Merge branch 'fix/production-tokens'
Refactor t/session_in_template.t to Plack::Test

Move the test from LWP::UserAgent and Test::TCP to Plack::Test
Fix indentation
Rewrite session cycle test:

Another removal of LWP::UserAgent and Test::TCP, but also a fix for
something that has been nagging us for a bit.

When you ran the session cycle test, you would litter the t/sessions/
directory with session files that wouldn't get cleaned up.
We really don't need this test anymore:

In order to use LWP::Protocol::PSGI, just do:

    use MyApp;
    use LWP::UserAgent;
    use LWP::Protocol::PSGI;

    my $app = MyApp->to_app;

    LWP::Protocol::PSGI->register($app);
    my $ua = LWP::UserAgent->new();

    ...
another one
another one
another one
last one
remove unused modules