Multi-graph auto-discovery: add periodic refresh.

Also split static spring configuration and auto-discover mode in two classes.
Use a common class which encapsulate common file-related functionalities.
Do not warn for missing fares if none avail.
Merge remote-tracking branch 'upstream/master'
On-board depart: initial proof-of-concept.
Add point to polyline fast distance in library.

This is a fast and approximated version, using equirectangular projection
centered on the point where the distance is calculated.
Added unit testing.
On-board depart: add PatternHop by trip indexing.
On-board depart: add start trip ID request param.
On-board depart: add graph service for setup.
On-board depart: plug everything in the request.

- Setup from vertex/edge in the RoutingContext setup
- Adapt BasicPathParser to accept state sequence
- Disable reverse-optimizing for on-board depart mode
- Adapt PlanGenerator
On-board depart: street-less stop linker compat.

- Also make sure we can't reverse traverse (return null if we do so)
- Fix issue with non serializable SphericalDistanceLibrary
Set back mode in SimpleTransfer.traverse

Otherwise s.reverse().optimize() != s. To check.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	opentripplanner-datastore/app/models/OTPQuery.java
Few remaining non-merged changes from upstream/master.
Real-time: fix NPE when using frequency-based trip.

State tripTimes used for real-time delay can be null for a frequency-based trip.
Slightly improve graph building performance when creating a
ScheduledStopPattern.
Only try to match updates to a trip if it is not a cancellation
Store the stopIndex in TransitBoardAlight, instead of the hopIndex.
Add GTFS-rt+HTTP support for StopTime updating
Replace UpdateBlock with TripUpdate

A TripUpdate may contain in addition to the stop specific updates,
trip specific changes (add a new trip, cancel the trip, ...)
Fix comments and log texts in StoptimeUpdater