A portable way to populate THANKS.

In particular:
 - BSD sed and GNU sed dosagree on commandline options.
 - echo "\n" >> FILE or "\r\n" for that matter, does not create a
   newline in FILE on Windows.

Original patch by Christopher Bonhage, applied with slight modification.

Closes COUCHDB-1628.
Send attachment headers in multipart responses

Closes COUCHDB-1368

Patch by:
 - Jan Lehnardt
 - Robert Newson
Backport 1.0.4 release notes
reflect that we reverted 1334 in the various change log files
Merge remote-tracking branch 'origin/master'
starting to traverse the tree, stored as a flat list

I'm just trying to reassign my old code to work with the way
the Views data structure *actually* works.  Lots of room for data
structure improvement here!