Api tidyup

This is a major refactor of the API and how it works. Sorry for the big PR. This is what it brings:
* Polling of infoconnect (NZTA) is now in a separate module. 
* Introduced Development settings to make debugging Table Storage easier.
* journey.js now returns journeys from cache in Table Storage. This removes the link between querying and polling.