Use setuptools if available. setuptools is pretty standard now.
Merged in prologic/dnslib (pull request #6)

Use setuptools if available. setuptools is pretty standard now.
Check attribute values - initial implementation