Removed dns cache / locks

DNS is no longer being cached, lookup.py has been significantly changed.
Lookup class no longer exists, methods related to cache and locking are
gone.
Changes made to all files since dns lookup has changed.

lock.py has been removed completely since without the cache file
there is no longer a possible race condition.
(See previous commit)