Search fix

This should fix searches when LazyLibrarian is behind a proxy setting the x-cache header. It also standardizes the cachelocation to be under the datadirectory instead of the possibly changing and unwritable execution directory.