escape each part of substitution, not their concatenation

It's easier to think about what the compiled code will do, rather
than look at the diff alone.

Given this substitution:

  <% x(), y(), z() | escape %>

The current code does this:

  $m->print(  escape_func( join( q{}, x(), y(), z() ) ) )

After this patch, it does this:

  $m->print(  map {; escape_func($_) } ( x(), y(), z() ) );

These are both just slightly simplified.

This change is important because it allows substitutions and escapes
to interact based on type.  For example, I wrote an escape that
looks something like this:

  sub escape_html {
    my $input = shift;
    return $input->as_html if blessed $input and $input->isa('HTML::Hunk');
    return escape_entities($input);
  }

Then everything is html-escaped unless it explicitly declaring that
it is HTML.  It means less type-accounting throughout the whole
application, because the type can always be inspected.
ensure that we can write escapes that handle refs
Merge pull request #1 from rjbs/escape-each-item

escape each part of substitution, not their concatenation