Set sys.exit()'s argument to 1 in case of exceptions
Set sys.exit()'s argument to 1 in case of exceptions

Context: cbstats()
Rather than setting the exit code to 0 (default), set to
1 in case of errors related to no. of arguments, authentication,
or any other exceptions.

Change-Id: Id765a4d04b1b4ff3ba1d33139b506bfd77ff3a22
Reviewed-on: http://review.couchbase.org/51165
Reviewed-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>
Tested-by: abhinav dangeti <d73ef2279de6577f7bf081737ee47554bbb7dc82@couchbase.com>

couchbase/ep-engine,hisundar/ep-engine,membase/ep-engine,daverigby/kv_engine,daverigby/kv_engine,couchbase/ep-engine,teligent-ru/ep-engine,teligent-ru/ep-engine,owendCB/ep-engine,hisundar/ep-engine,daverigby/ep-engine,daverigby/ep-engine,daverigby/kv_engine,couchbase/ep-engine,owendCB/ep-engine,owendCB/ep-engine,membase/ep-engine,daverigby/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine,membase/ep-engine,owendCB/ep-engine,couchbase/ep-engine,hisundar/ep-engine,hisundar/ep-engine,daverigby/kv_engine,teligent-ru/ep-engine,membase/ep-engine