.travis.yml: make distcheck
Make password hashing synchronous when using the /_config/admins API.

This should account for many intermittent JavaScript test suite errors.

The patch retains hashing admins on couch_server start to account for
users editing their .ini files directly.

Knowledge about password hash prefixes and the password hashing itself
has been moved to couch_passwords.

Thanks to Dale Harvey and Robert Newson for helping me to hunt this down
and shaping and reviewing the patch.
Fix random failures in replication.js test

This should fix the random failures for the 'expected "25" got "31"
error message that pops up occasionally. If my hunch is correct when we
remove the two docs from the source db its possible to get the writes on
the target out of order depending on a race condition.

This just sleeps a bit in between the deletions to try and reduce that
possibility. I haven't spotted this error after applying this patch.
Fix race condition in the auth db creation

This test deletes a database and then tries to go and write to it
without ensuring that it exists. This is just a race with the auth cache
code trying to recreate its own database. This addition just makes sure
it exists by trying to create it and ignoring any 412 errors if the auth
cache won the race.
Improve the CLI JavaScript stack formating

This dresses up the output of the JavaScript tests by making sure the
output is sane. Most of the issue was that the tracebak prints function
arguments which can include the entire source of the test.

This also tries to print the source file and line number nicely so that
we can find right where errors have occurred. Its proven quite useful
while fixing JavaScript tests.
Fixing the replicator_db JS test
Do not overwrite X-CouchDB-Requested-Path

Repeated rewrites would replace the initial value of
X-CouchDB-Requested-Path.

Fixes: COUCHDB-1442
Limit rewrite recursion depth

Loops in the rewriter would end up pegging the CPU until memory was
exhausted. Max recursion is now configurable and limited to 100
iterations.

Fixes: COUCHDB-1441
Added Ronny Pfannschmidt to the THANKS
Update changes with JS CLI test changes
Silence compiler warning
Fix JS CLI tests for make distcheck

The default_dev.ini and local_dev.ini files are build artefacts and thus
need to be found in the build directory instead of the source directory.
s/http/httpc
Use TEquals for great good
Revert an errant hunk from test/javascript/run.tpl

Accidentally included half an idea on trying to make sure that the
CouchDB process spawned by the JS CLI tests exited.
Update etap and remove obsolete files

Update tests to use new etap, removed unused variable warnings, and
added a check-etap to the Makefile as a convenience
Make sure that local_dev.ini is writable
Revert "Make sure that local_dev.ini is writable"

This reverts commit 591c973b3ec1df2c5294e5fdaea66bc66e21f9b7.

This breaks installing form non-writable media (think CD/DVD
installs).
Revert "Revert "Make sure that local_dev.ini is writable""

This breaks builds that expect a read-only install media
like CD/DVDs.

This reverts commit b1799cdcd554260eafe0e8d29bddd7e664dc7a03.
Revert "Revert "Revert "Make sure that local_dev.ini is writable"""

Revert. Git <3.

This reverts commit bdcfcca1ec92f379e5376741e5ab103630573ac4.