Remove extraneous ETag warning during compilation
Improve script url validation
Include a comment before jsonp output
Ignore multipart epilogue

COUCHDB-1632
improve parsing of mochiweb relative paths

Patch adapted from http://www.couchbase.com/issues/browse/MB-7390
Fix unused variable warnings
Export handle_file_req
Delete view files on database deletion

couch_file:nuke_dir attempts to recurse into subdirectories and delete
the contents, it does so when couch_file:delete returns {error,
eperm}. Unfortunately, the subdirectory has been renamed to a random
uuid before returning, and so the recursive call gets {error, enoent}
from list:dir(Path) where Path is the original (non-existent)
subdirectory path.

View files are not currently deleted when a database is because of
this (this happened since 1.2.0, no release is broken) because the
view engine rewrite added a further directory level called 'mrview'.

This patch modifies nuke_dir to depth-first, solving the issue.
Fix `make check-js` for non-`make` builds.

This patch passes the `$(MAKE)` value to `test/javascript/run`
so it can in turn invoke `$(MAKE)` instead of literal `make`,
so builds that use e.g. `gmake` succeed.
fix make check-js typo
Fix typo in CORS header.

Thanks to Anthony Ramine for the heads up at

    https://github.com/apache/couchdb/commit/b90e40212663474e873fde6cab343c31c1e635e7#commitcomment-2355206
master is 1.4.x
fix pbkdf2 spec
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
update jquery to 1.8.3
update erlang-oauth to 1.3.0
Update snappy to 1.0.5