CBQE-1254: spatial views job was hunging

Add cluster shutdown when setup is failed

Change-Id: Ic5c45b188fe1556093ca3dc42f7382c3800a23a6
Reviewed-on: http://review.couchbase.org/25958
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>