PY3: fix has_key and use six.moves.configparser

Yet another small change for py3k support.
they renamed it in Python 3.2