Fauxton: remove superfluous token in dateformat
Fauxton: test for globals

As a developer, I don't want to accidentally pollute the global
namespace and rely on global state.
Fauxton: remove superfluous console.log
Fauxton: remove accidental globals
minor spelling fixes in docs
fix documentation for replicator intro
Fix bug in docs list
minor documentation fixes
Remove "details" query parameter from show functions API
Remove "details" query parameter from show functions API. One more time
Fix 231-cors.t test suite (again)

That's interesting issue: couch_passwords:hash_admin_password accepts
password as binary string, but list one had been passed instead. This
causes crush with function_clause reason. Ok, but this crush left
hidden for R15/R16 - only R14 shows stack trace in output and alerts
that's something wrong. To be honest, *sometimes* it's also possible
to reproduce this test suite crush with modern Erlang releases,
but it will be about Bad Plan: planned 27 test, but run only 26.
Nothing specific.

So, silent crush prevented other tests to be run and also counted by
the plan. Now this is fixed.
Fix race condition in test suite on checking ref count

The issue happened from time to time on CentOS system: one, two or few
tests failed because ref count wasn't decremented till the very moment
when this value was requested and the result returned back. Adding
sleep timeout helps to synchronise calls and while 0.1 sec sleep is
good, but not enough - with 0.2 sleep floating errors happens no more.
Added missing build requirements for Centos/RHEL environments.
remove duplicated code

use the central viewhelper which even renders bytes
build: detect new erlang version format correctly

- OTP 17.0 uses a different numbering system for releases and patches, but not semver.org
- the major version number will be bumped for the first time in 4 years
docs: update supported Erlang/OTP and SpiderMonkey versions

- matches what the code can support after last Mochiweb update
- update .travis.yml file to match 17.0 release
- update docs
Merge branch 'refs/heads/2200-feature-support-erlang-17.0'

- closes COUCHDB-2200

* refs/heads/2200-feature-support-erlang-17.0:
  docs: update supported Erlang/OTP and SpiderMonkey versions
  build: detect new erlang version format correctly
Fix comparison warning on ./configure