MB-100 Allow floating point purge interval.

Only for testing purposes. And the only way to actually set it will be
through /diag/eval trickery.

Change-Id: I7036d1b47fb858c5ff4e6bc175adb449b445a782
Reviewed-on: http://review.couchbase.org/27932
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Ketaki Gangal <ketakigangal@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-5844 disallow bucket names that start from

_replicator.couch. and _users.couch.

this resolves the situation when bucket directory name
conflicts with couchdb internal files _replicator.couch.1
and _users.couch.1 that happen to be located in the same
directory

Change-Id: I57318757e2d4b64d6da6e8a874e3d9ef5759d939
Reviewed-on: http://review.couchbase.org/27870
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-4695 allow http://<server-name> when adding node to cluster

- implemented correct url parsing on server side

- removed host:port parsing from the client code

- unified the interface of addNode and doClusterJoin
by introducing hostname parameter for doClusterJoin
with preserving the old parameters for backward compatibility

Change-Id: I2aad5383bb003b116c01ab412f0eb43690e192c5
Reviewed-on: http://review.couchbase.org/27900
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-5844 move ns_log and isasl.pw files from the data directory

to avoid conflicts with bucket names
the files are moved one level up to the /data/<node> dir

Change-Id: I08a9d0c3f0c8a567e85a437ac4c8f16fb506f6f3
Reviewed-on: http://review.couchbase.org/27903
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-5844 move ns_log and isasl.pw files from the data directory
  MB-4695 allow http://<server-name> when adding node to cluster
  MB-5844 disallow bucket names that start from
  MB-100 Allow floating point purge interval.

trivial merge

Change-Id: I1461292c9efa1e29594763045101ad7190a81931