ignore .*

Great excuse to help gmacdonald check JIRA integration, too.
Fix TEST-1
Remove bad couch_db:close/1 call

This is unnecessary as the changes feed loop will do
the necessary database close once it starts waiting
for database update events. Plus, this close call
will fail when the database is deleted - this causes
sporadic replicator_db.js test failures.
Fix OAuth authentication with VHosts + URL rewriting

The OAuth handler was not getting the right path (the one
the client used to compute its OAuth signature) to verify
the client's signature. The right path is the one from
before doing the VHost dispatch.
Secondly, after the OAuth handler succeeds, the rewriter
kicks in and calls couch_httpd:handle_request_int/5 with a
new mochiweb request which contains the rewritten patch.
This will cause all the authentication handlers to run again,
which makes the OAuth handler fail this second time because
it gets a rewritten patch.

COUCHDB-1320
Update CHANGES & NEWS

Updated these files to reflect COUCHDB-1320 and
COUCHDB-1321.
Improve the comment for OS daemons in local.ini

The old version was a bit misleading on what daemons should do to
monitor that the server is still alive.
fix COUCHDB-1361 - unquoted port in js config test

TEquals() does a triple equals comparison so the type needs to agree.
Configuration values are strings.
Add ICU_CPPFLAGS to ICU_C|_CXXFLAGS

Reported to fix homebrew builds under jenkins (cc daleharvey)
Fix COUCHDB-1363 - race condition in couch_changes

It's necessary to re-open the #db after subscribing to notifications
so that updates are not lost. In practice, this is rarely problematic
because the next change will cause everything to catch up, but if a
quick burst of changes happens while replication is starting the
replication can go stale. Detected by intermittent replicator_db js
test failures.
Clear credentials cache if _users db crashes

COUCHDB-1357
Remove unused records
Fix merging of documents with attachment stubs

During replicated updates, merging of documents with
attachment stubs will fail if, after merging the received
document's revision tree with the current on disk revision
tree, produces a revision tree which doesn't contain the revision
that immediately precedes the received document's revision.

This happens when the received document doesn't contain in its
revision history any of the revisions in the revision tree
of the currently on disk document. This is possible when the
document had a number of updates higher than the value of revs
limit defined for the target database.

Issue found, and reproduced by, Marty Schoch. Thanks.
Closes COUCHDB-1365.
Format ID as a string and not as an erlang binary
Fix typo
fix whitespaces
other whitespaces spotted in couch_httpd.
Minor doc and configure fixes for old JS engines

Old, 1.7 series, versions of SpiderMonkey don't have the symbol
JSOPTION_ANONFUNFIX so don't perform the check for it unless building
with a newer version (1.8.5+).

And as long as 1.7 is still supported, don't say that 1.8 is required
in the INSTALL docs.

Fixes COUCHDB-1371
CouchDB-1367 - Fix function_clause in _stats when no rows are emitted
add support of erlang R15B in oauth.
remove trailing whitespace
fix whitespace