MB-8013 Show details about ingoing transfers during rebalance.

Rebalance task updated accordingly, e.g.:

 {
        "detailedProgress": {
            "bucket": "default",
            "bucketNumber": 1,
            "bucketsCount": 1,
            "perNode": {
                "n_0@10.17.45.204": {
                    "ingoing": {
                        "activeVBucketsLeft": 0,
                        "docsTotal": 0,
                        "docsTransferred": 0,
                        "replicaVBucketsLeft": 0
                    },
                    "outgoing": {
                        "activeVBucketsLeft": 0,
                        "docsTotal": 1024,
                        "docsTransferred": 816,
                        "replicaVBucketsLeft": 0
                    }
                },
                "n_1@127.0.0.1": {
                    "ingoing": {
                        "activeVBucketsLeft": 0,
                        "docsTotal": 1024,
                        "docsTransferred": 816,
                        "replicaVBucketsLeft": 208
                    },
                    "outgoing": {
                        "activeVBucketsLeft": 0,
                        "docsTotal": 0,
                        "docsTransferred": 0,
                        "replicaVBucketsLeft": 0
                    }
                }
            }
        },
        "perNode": {
            "n_0@10.17.45.204": {
                "progress": 72.91666666666667
            },
            "n_1@127.0.0.1": {
                "progress": 100.0
            }
        },
        "progress": 86.45833333333334,
        "recommendedRefreshPeriod": 0.25,
        "status": "running",
        "type": "rebalance"
    }

Change-Id: I045341eaafd9e6c884dd7e149871763ce0e26724
Reviewed-on: http://review.couchbase.org/26333
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8199 Throttle REST and CAPI requests.

There're three internal settings that control this:

 - limit on the number of REST connections (everything that goes
   through 8091 port)
 - limit on the number of CAPI connections (everything that goes
   through 8092 port)
 - memory threshold that when exceeded causes us to drop any incoming
   connection

Change-Id: Ib79c8068056193beecda536436572ca66b74f31f
Reviewed-on: http://review.couchbase.org/26334
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100 Grab babysitter processes as part of diag.

Change-Id: I0cf14713b3b39ed0cca79d11ddeaf798485b7a18
Reviewed-on: http://review.couchbase.org/26336
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>