Updated the location cache proxy function to not cache direction

Essentially, we are now assuming that all locations can be departed from and arrived at, by just storing the returned list for a location search in a single dictionary, disregarding direction.
A comment about the __hash__ test