PY3: fix has_key and use six.moves.configparser
Merge pull request #798 from felixonmars/py3-port

PY3: fix has_key and use six.moves.configparser