Update train_details.php

Talent 2 added
Merge pull request #1 from birne93/patch-1

Update train_details.php
improve error logging
Support stop nodes in maxspeed calculation that are not on a way of the
route
fix: trafficmode was shown as "Unknown" instead of "N/A (100%)" when
traffic mode is not set