Added function to find trail motor_vehicles flag in properties (issue #33)
Added function to find trail segment name in properties (issue #35)
Removed a bunch of repetitive tests