Add missing python-dnspython dependency
Move script body to a separate module
Switch unittests to nosetests, provide simple config
Ignore coverage output files