Wait till master db watcher starts.
Wait till master db watcher starts.

This avoid potential race when some design documents are completed are
completely ignored by capi_set_view_manager. It could happen if design
document is created after initial list is read from database but
before master db watcher is ready to send updates.

Change-Id: Iad164d24bb0b4f697f526d422df2ad7b7967cfc0
Reviewed-on: http://review.couchbase.org/11718
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

ceejatec/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,ceejatec/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,mschoch/ns_server,mschoch/ns_server,mschoch/ns_server,mschoch/ns_server,daverigby/ns_server,membase/ns_server,mschoch/ns_server,vzasade/ns_server,vzasade/ns_server,membase/ns_server,membase/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,ceejatec/ns_server,pavel-blagodov/ns_server,membase/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,nimishzynga/ns_server