Distance Script

Updated docs for distance scripting and added
missing geohash distance functions
Closes #5397