Improved count function
Overhauled name lookup, no more cache file.

Significant changes to lookup.py. Removed all file-written caches, since they're unneeded.
Reverted from class to a pair of functions which fill the role fine.
Changes to arguments since they are a bit different now.
Updated other files to reflect how lookup works now.

Removed lock entirely since removing caches also removes the possible race condition.
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)
Removed unneeded import
Fixed a few issues with previous changes

A few dangling issues from the last commit's large changes.
Added hostname lookup to cacti's Get.
Improved lookup environment silliness.
Bugfixes for lookup
Added somne more / better comments.
Merge commit 'd1b81eed0bf0e9001c2f8e03d947123660ac5f23'

Comment and documentations merge back into master.