MB-12361:bp: remove unused and not functioning /docs api

Orig-Reviewed-on: http://review.couchbase.org/36734

This is trival cherry-pick.

Change-Id: I4c9e42923da6a9c39302779d671d866953007f44
Reviewed-on: http://review.couchbase.org/42174
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: dropped never used "resources" REST API endpoints

Orig-Reviewed-on: http://review.couchbase.org/35932

Conflicts:
	src/ns_storage_conf.erl

This is near-trivial cherry-pick.

Change-Id: I147a9919a626ccae35b6e2d5960a2ede6c46e8e7
Reviewed-on: http://review.couchbase.org/42175
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361: do not use server header for send_no_active_vbuckets

This is de-facto backport of http://review.couchbase.org/36739.

Change-Id: Ie45730d867e50772866eb8d14411d670828190a0
Reviewed-on: http://review.couchbase.org/42176
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 export ale:start_logger/3

Orig-Reviewed-on: http://review.couchbase.org/36667

This is trivial cherry-pick

Change-Id: Icc4054a04b6f226c4c32c7906082b1974036df76
Reviewed-on: http://review.couchbase.org/42177
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 infrastructure for ... access.log

Orig-Reviewed-on: http://review.couchbase.org/36608
Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>

Conflicts:
	etc/static_config.in
	include/ns_common.hrl
	src/ns_server.erl

The commit is not clean cherry-pick and worth separate code review.

Change-Id: Icd74d28de820c4fbb4646bef8f96cba19bc02a2b
Reviewed-on: http://review.couchbase.org/42178
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 reroute all http respond calls ...

to the api that logs into access.log

Orig-Reviewed-on: http://review.couchbase.org/36609
Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>

Conflicts:
	src/menelaus_auth.erl
	src/menelaus_web.erl
	src/menelaus_web_crud.erl

This is not straightforward cherry-pick. Worth separate code-review.

Change-Id: I3404ab78c59794673f74a41571bae48cb8e09b36
Reviewed-on: http://review.couchbase.org/42179
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 add access.log to /diag and cbcollect_info

Orig-Reviewed-on: http://review.couchbase.org/36842

Conflicts:
	cbcollect_info
	src/diag_handler.erl

This is near-trivial cherry-pick

Change-Id: I07700fd9ed67d2edb268d84c1c583608ef6e9310
Reviewed-on: http://review.couchbase.org/42180
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 rename access.log to http_access.log

Orig-Reviewed-on: http://review.couchbase.org/38197

Conflicts:
	cbcollect_info
	include/ns_common.hrl

This is near-trivial cherry pick.

Change-Id: I374f0723526799babb9e23cae99e77a1541780a4
Reviewed-on: http://review.couchbase.org/42181
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge branch 'rel-2.5.1.1'

* rel-2.5.1.1:
  MB-12361:bp: MB-10020 rename access.log to http_access.log
  MB-12361:bp: MB-10020 add access.log to /diag and cbcollect_info
  MB-12361:bp: MB-10020 reroute all http respond calls ...
  MB-12361:bp: MB-10020 infrastructure for ... access.log
  MB-12361:bp: MB-10020 export ale:start_logger/3
  MB-12361: do not use server header for send_no_active_vbuckets
  MB-12361:bp: dropped never used "resources" REST API endpoints
  MB-12361:bp: remove unused and not functioning /docs api

This is empty merge because it merges back backports

Conflicts:
	cbcollect_info
	deps/ale/src/ale.erl
	etc/static_config.in
	include/ns_common.hrl
	src/capi_view.erl
	src/diag_handler.erl
	src/menelaus_access_log_formatter.erl
	src/menelaus_auth.erl
	src/menelaus_util.erl
	src/menelaus_web.erl
	src/menelaus_web_buckets.erl
	src/ns_server.erl
	src/ns_storage_conf.erl

Change-Id: Id9ab6aefc72c64859caada5e0440c2ebfd049ae1