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.
Fauxton wrap codemirror errors in try catch.
fix 140-*.t, reflect mv README README.rst
FIX BUILD: add Vagrantfile to license.skip
FIX BUILD: add license header to fauxton/templates/../ddoc_info.html
Fauxton fix log not refreshing
Ajax loader helper

Added disableLoader & loaderClassname attribute to views, for showing ajax spinners. Included default class and spinner image.
Added the loader to app-container as well, to run on the whole page while the routeObjects load.

fixes #1802