Remove extraneous ETag warning during compilation
Improve script url validation
Include a comment before jsonp output
improve parsing of mochiweb relative paths

Patch adapted from http://www.couchbase.com/issues/browse/MB-7390
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.
minor NEWS & CHANGES (capitalization)
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
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.
reflect that we reverted 1334 in the various change log files