MB-8444: enable adjusting concurrent replicators at run-time

This commit will enable dynamicly setting number of concurrent
vb replicators at runtime, without stopping/restarting ongoing
replication. Active replicators will check during the ongoing
replication if user has changed number of tokens or not, and
adjust concurrency throttle accordingly.

If user increases tokens during XDCR, these new tokens will be
immediately available and the throttle will schedule corresponding
waiting replicators to be active. However, if user decreases the
number of tokens, the concurrency throttle will allow active vb
replicator to continue, until it is done and return the token to
throttle. The throttle will not schedule new vb replicators before
enough tokens have been returned.

Users can change number of tokens by ns_config parameter:

xdcr_max_concurrent_reps

or via env parameter

MAX_CONCURRENT_REPS_PER_DOC

Change-Id: Ie267c9fee7afa4e87414ee0e696e235c523e2e3b
Reviewed-on: http://review.couchbase.org/27089
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
Reviewed-by: Jin Lim <jin@couchbase.com>
MB-100: using dict:update_counter to update load stats table

Change-Id: Ibdc29ef246b471dfcdb29b7c4720df4c2c568fb5
Reviewed-on: http://review.couchbase.org/27090
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
MB-4786 only show anonymous pages as "used"

It can be argued that it's still imperfect, but at least it can be
argued that it's better than what we had before

Change-Id: I9b698a714b11e4afce29cfb0a8fc2ec9cf026a83
Reviewed-on: http://review.couchbase.org/27227
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/2.1.1'

* origin/2.1.1:
  MB-4786 only show anonymous pages as "used"
  MB-100: using dict:update_counter to update load stats table
  MB-8444: enable adjusting concurrent replicators at run-time

this merge is trivial

Change-Id: I64ce55ca0c40365b392157128245f6aeea09e82a