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.
Merge pull request #1087 from skywave/master

Check if there are actually steps, prevent javascript error.