MB-100: make shutdown event global

Change-Id: If26558d27a8c01e2118b0b11cf7ebdea247d802a
Reviewed-on: http://review.couchbase.org/23888
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>