added the possibility to change the way the main mode is infered from a trip,
+ added a "TripsToLegModule", similar to the transit activity remover.
Authored by: thibautd 2012-05-24
Parent: [r19681]
Child: [r19683]