Fix request and bit doctests, make dnslib nose- and py.test-friendly

Right now only upd_proxy.py fails, but I wait with fixing it until #1 and #3 are merged.