Query API bindings now allow 0 in index - EUCA-5451 EUCA-5674

Query API list values now allow use of 0 as and index and also permit
leading zeros such as 01.

EUCA-5451
EUCA-5674
Merge remote-tracking branch 'origin/dev/sjones/EUCA-5451' into testing