PTIPS-3381: Work in progress.

• Title: Fall back on timetable data when predictions beyond a certain
  time are requested.
• Added code to handle different far-future use cases. TODO: Set
  data-sources.xml to test it.
PTIPS-3381: modified data-sources.xml

• Modified data-sources.xml to support new farFuturePredictionPolicy and farFuturePredictionThresholdSeconds properties
• The far-future policy no longer applies to services with external predictions
Merge branch 'master' into PTIPS-3381-far-future-timetable-fallback
Merge branch 'master' into PTIPS-3381-far-future-timetable-fallback
Added debugging info.
Merge branch 'master' into PTIPS-3381-far-future-timetable-fallback
Bugfix: Prediction policy wasn't properly applied.

• The bug was caused by an earlier merge stuff-up.

• Location exceptions now just mean there's no location data; they no
  longer mean data for whole services get thrown out.

• Removed some old logging code, and added a few TODOs so I can test
  that everything's cool and fruity next Monday, hours before school
  buses run.
Merge branch 'master' into PTIPS-3381-far-future-timetable-fallback
Added helpful log messages

• now shows which bundle is being used
• more helpful ArrivalAndDepartureBean string
PTIPS-2932: minCount/maxCount WIP
Merge branch 'PTIPS-3381-far-future-timetable-fallback' into PTIPS-2932_arrivals-and-departures-for-stop

Conflicts:
	onebusaway-combined-webapp/src/main/assembly/full/WEB-INF/classes/data-sources.xml
PTIPS-2932/PTIPS-3381: Fall back on timetable data

• Fixed bug where services without predictions were not being returned

• ArrivalAndDepartureInstances were not being retrieved and sorted
  properly by ArrivalsAndDeparturesBeanServiceImpl when it tried to fill
  to minCount. Fixed.

• Readability fix: ArrivalsAndDeparturesBeanServiceImpl now uses
  DateUtils constants

• Removed debugging code
PTIPS-2932/PTIPS-3381: 24h bugfix; log aggregation

• Fixed bug where services more than 24 hours away were being sought

• Added ThrowableAggregator, to aggregate a lot of log spew. Instead of
  a whole bunch of stacks, there's now a single warning message (albeit
  a long one at times) and some of the stacks are included in debug
  messages
Trying to get Maven to build in DOS

• For some reason, it seems to be trying to compile
  ArrivalAndDepartureBean with a pre-1.5 version of Java! It works under
  Eclipse.

• Tried messing with the POMs, didn't help.

• Gonna try under Linux; if that fails, I'll have to hack it.
PTIPS-2932/PTIPS-3381: minCount/maxCount to webapp

• Added the new minCount and maxCount parameters to the web app. e.g.
  http://o.ba/where/standard/stop.action?id=11954_2000119&minCount=500
Code clean-up

• Removed old TODOs and debugging code

• Reformatted using the OneBusAway code style templates at
  https://github.com/OneBusAway/onebusaway/wiki/Code-Style

• Organised imports
Merge branch 'master' of https://github.com/PTIPS/onebusaway-application-modules
Merge remote-tracking branch 'origin/master' into PTIPS-2932_arrivals-and-departures-for-stop
Merge remote-tracking branch 'origin/master' into PTIPS-3381-far-future-timetable-fallback
Merge branch 'PTIPS-2932_arrivals-and-departures-for-stop'