MB-12197: made terminate_and_wait work even for normal reason
MB-12197: made terminate_and_wait work even for normal reason

When exit is send with reason normal, it gets ignored if child is not
trapping exits.

Recent change of dcp_replicator childs to not trap exits caused
condition where terminate with reason normal got stuck because of
normal exit being ignored.

This commit maps normal to shutdown and fixes MB.

Change-Id: I913814746f24446532fc0462b208f527993f9900
Reviewed-on: http://review.couchbase.org/41474
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Reviewed-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>

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