MB-9073 Always set type to xmem when creating a replication.
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 <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

daverigby/ns_server,mschoch/ns_server,mschoch/ns_server,ceejatec/ns_server,ceejatec/ns_server,mschoch/ns_server,nimishzynga/ns_server,membase/ns_server,nimishzynga/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,nimishzynga/ns_server,membase/ns_server,t3rm1n4l/ns_server,membase/ns_server,daverigby/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,membase/ns_server,vzasade/ns_server,mschoch/ns_server,vzasade/ns_server,daverigby/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,vzasade/ns_server,daverigby/ns_server,vzasade/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,membase/ns_server,daverigby/ns_server,nimishzynga/ns_server