Distance Sort

Implemented sorting caches in the database by distance from the user.
This is the last known location. WARN: Currently not fully tested.
Hot/Cold function when finding caches.

This is the final version for the prototype on 7th.