MB-9073 Always set type to xmem when creating a replication.

Also ensure that advanced settings container is always folded by
default.

Change-Id: I9cdde5c0144b203bd3b49f33969494261958ed29
Reviewed-on: http://review.couchbase.org/28834
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>