handle special case where the route of a vehicle ends on a link that is a loop. in that case, the agent/vehicle just continued driving in circles… add test case.
Authored by: mrieser 2014-01-23
Parent: [r27609]
Child: [r27611]