PY3: fix has_key and use six.moves.configparser