Implements the framework for distance based fare calculation

We would like to implement distance based fares in OpenTripPlanner, so we can support the Dutch OV-chipkaart infrastructure.