cornice.ext.sphinxext Python 3 compatibility fix

Fixed cornice.ext.sphinxext to be compatible with Python 3 - replaced "dict.has_key(x)" with "x in dict".