Leaflet client: Check if steps exists in itinerary

There are some algorithms pushing out interaries without steps in the legs, such as the simplepathalgorithm. Without this patch, things break down.