MB-7719 disable 'Rebalance' button if the samples are loading

Change-Id: I258cdadbedc343e1bf6d0fcf5c91f8cee17f37bb
Reviewed-on: http://review.couchbase.org/27476
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
MB-8569: removed lookup by first letters

[alk@tut.by: added ticket reference]

Change-Id: Ib7b37cbe2fd7b4dd2eb08dd1524cf2996f660974
Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>
Reviewed-on: http://review.couchbase.org/27529
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-6989: start/end keys auto quoting for document filter

Change-Id: I06503780814648cc114498031cbd920fc02d06b2
Reviewed-on: http://review.couchbase.org/27530
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-7248 enforce maximum number of buckets

...during sample buckets creation

- re-factored sample loading code to use the same stack as normal bucket creation
- improved error handling of the sample buckets creation API
- enforced max number of buckets on the UI level

Change-Id: I3fe28542ac052a39a9f8aa46e442ee82f0e1c435
Reviewed-on: http://review.couchbase.org/27432
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8598 - fix for alerts UI and REST API

- fixed typo in UI code that messes up
  "Writing data to disk for a specific bucket has failed" alert
- changed REST API so it will error out if
  the unsupported paramater is passed

Change-Id: I25d5609f25b6e414dcb2591c99da38ccd8774b9e
Reviewed-on: http://review.couchbase.org/27453
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/2.2.0'

* origin/2.2.0:
  MB-8598 - fix for alerts UI and REST API
  MB-7248 enforce maximum number of buckets
  MB-6989: start/end keys auto quoting for document filter
  MB-8569: removed lookup by first letters
  MB-7719 disable 'Rebalance' button if the samples are loading

this is trivial merge

Change-Id: I8ae51620f9f1cd501bd05e64de8eb587c4d5436e