Accept per-file headers in multipart file POST messages.

- Each file in the `files` argument can now be a 4-tuple, instead of
  just a file, 2-tuple, or 3-tuple. If it is, the last value in the
  tuple is a dictionary of extra headers.
Merge pull request #1640 from abarnert/master

Accept per-file headers in multipart file POST messages.