querycmd: Fix index create command with -primary flag
querycmd: Fix index create command with -primary flag

Change-Id: I2dc9015d381840b40a81dc2b5d036ee8364f1931
Reviewed-on: http://review.couchbase.org/44013
Reviewed-by: Pratap Chakravarthy <3f7aa3c5f732447448ccfcd013fd9591a9825870@couchbase.com>
Reviewed-by: Sarath Lakshman <d41e430501c5d3aeeb2b91142f917f514040f807@couchbase.com>
Tested-by: Sarath Lakshman <d41e430501c5d3aeeb2b91142f917f514040f807@couchbase.com>

jchris/indexing,jchris/indexing,jchris/indexing,jchris/indexing