Fix JCBC-288 : Issue Query parameter parsing

Change-Id: Ib6b750147ad3e1feec5969ce68759cf5d956239a
Reviewed-on: http://review.couchbase.org/25790
Tested-by: Tugdual Grall <tugdual@gmail.com>
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>