list of known failures as a python script

replaced known_failures.txt with known_failures.py
test__socket_dns.py: do not compare IPv6 addresses
Merge pull request #433 from surfly/minor

implement list of known failures as a python script