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>