Some more fixes in sequence functions
Some more fixes in sequence functions

Initialize dictpos to 0, if it's a dict
Return -1 if PyDict_Next returns < 1

Change-Id: Ied5af0048b02a4a397b9f70679658f9f4c256a1b
Reviewed-on: http://review.couchbase.org/26327
Reviewed-by: Volker Mische <fb414f8ac0dbbf87663550ae4ef5fc95b1041941@gmail.com>
Tested-by: Mordechai Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>

couchbase/couchbase-python-client,mnunberg/couchbase-python-client,mnunberg/couchbase-python-client,couchbase/couchbase-python-client