updated sanity script for cbq.

Change-Id: I6c418f160f8a862626dd306dd3a6a6b0f6c779b0
Reviewed-on: http://review.couchbase.org/43612
Reviewed-by: Pratap Chakravarthy <prataprc@couchbase.com>
Tested-by: Pratap Chakravarthy <prataprc@couchbase.com>