Upcoming flight-planning changes want to use the perf computation code in route-path, so move it to a public class, and implement some of the missing functionality, especially correct GS computation for altitude.