Make StreetEdge speed computation method public.
Fix #1625, add speed parameter to SPTWalker.

Also clamp time on maxTime from the request for optimization.
Correct typo in comment.
Remove spurrious line clamping speed to average.
Merge pull request #1626 from laurentg/fix-1625

Fix 1625