ElasticSearch: avoid KeyError for empty spelling

It was possible to get a KeyError when spelling suggestions were
requested but no suggestions are returned by the backend.

Thanks to Steven Skoczen (@skoczen) for the patch
Add setup.cfg for common linters