WPS process to rank points along a track/route

Update of ktcorby's efforts on PR#73
speeds is a def, pulling it out as spds means we only do the method once, right?