PY3: fix has_key and use six.moves.configparser

Yet another small change for py3k support.
I'd remove it