Add availabilityref to key for journeys

This solves several problems related to departuretimes and also contains fixes to make things faster. Closes #67 and #78