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.
Show the realTime and departureDelay variables in the Planner
Make the leaflet client the default front-end for the otp-standalone
Make the leaflet client test for variable existence in alerts, before accessing them
Added realtime variables to the result JSON so that the requester can know what type of data he is getting
Added departureDelay and arrivalDelay to the trip results
leaflet client: generalize max walk selector for max bike, incl. template refactoring
Merge pull request #1087 from skywave/master

Check if there are actually steps, prevent javascript error.
Merge branch 'upstream' of https://github.com/calendar42/OpenTripPlanner into calendar42-upstream
leaflet client: remove references to moduleId field (use module.id instead)
leaflet client: template refactoring for LocationsSelector
leaflet client: basic event-listening capability for modules
leaflet client: update locations selector on map click/drag
leaflet client: reverse trip button
Merge branch 'master' of github.com:openplans/OpenTripPlanner into grizzlyserver-default-fe