CBQE-0: only setup parsers when run from cli

this change is necessary so that we can import methods from this module

Change-Id: Iff42acc78ae300cf63e0058089e39dc2ffacf3d3
Reviewed-on: http://review.couchbase.org/26067
Reviewed-by: Chisheng Hong <chisheng@couchbase.com>
Tested-by: Tommie McAfee <tommie@couchbase.com>