CBQE-2183: fix createDelete Views + DGM tests

Change-Id: I94a5e993ea1160c685f96c71316d16c9375408c2
Reviewed-on: http://review.couchbase.org/35267
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Meenakshi Goel <meenakshi.goel@globallogic.com>
Tested-by: Meenakshi Goel <meenakshi.goel@globallogic.com>