PY3: fix has_key and use six.moves.configparser

Yet another small change for py3k support.
Okay, I've resubmitted it to remove the line.