Support for loading cached distance matrices and nearest neighbors. Slight cleanup of knn.py and introduction of --cache-parameter which currently isn't honored yet.
Caching of distance matrix and nearest neighbors.
lookup.py is now more generic, allowing arbitrary lucene queries to be specified.
Base class for lookup-tools and a function-tool.
Removed files/tools no longer needed as the lookup-tool replaces them.
Added '--attributes' for lookup tools.