Save the auth values so if the AuthSession cookie has passed the Time left threshold it gets updated
Merge remote-tracking branch 'ocasta/1799-rewrite-session-cookie-fix'

Fixes COUCHDB-1799
docs: add more structure to the release history
replace README with README.rst in build system
docs: don't refer to release chapter in build system
docs: rewrite sentence about HTTP admins interface
Remove bashisms from JS test runner

1. Stop using bash arrays.
2. Account for the sh-builtin `echo` not having an `-n`
   argument on BSDs.
3. Strip spaces from `wc -l` output when calculating the
   number of tests for 1.

Patch by Klaus Trainer & Jan Lehnardt.

Closes COUCHDB-1793.
Update NEWS and CHANGES w 1.3.1 entries
COUCHDB-1784 update license.skip to support VPATH builds
Update CHANGES for 1.3.1

COUCHDB-1696
Forward port 1.3.1 changes
Remove 1.2.3 sections
Distribute test_setup.js
Add Vagrantfile

This patch allows us to develop and test couchdb using vagrant
(http://www.vagrantup.com) .

Since we don't have any good debian packaging for now this image is only
useful for developers or those who want to use latest couchdb version.

To use it run the following commad:

    $ vagrant up
    $ vagrant ssh
    $ cd /vagrant

then you can play with the code and build your own distribution of
couch. This image is supporting lxc, ec2 and rackspace providers for
vagrant.
Allow storing a pre-hashed admin password

When duplicating a couch, it is difficult to copy the _config/admins/*
values. Storing the encoded value does not work because that value is
re-hashed when stored. (Your password is the literal string
"-pbkdf2-abcdef...".)

This change will store any config setting unmodified if ?raw=true is
in the query string.

Updating _config/admins/* already requires admin privileges, so there is
no change to the security.
Move myself from THANKS to AUTHORS
Add documentation on replication

Previously replication.rst described only the _replicator database, but did
not provide an overall view on replication.
Create/edit and query views.

It is now also possible to preview views with pouch. Issue #1806
Add design doc metadata to view
Fixes issue #1816
Show view request duration amd goto doc id

This is for issues #1812 and #1810.