allow for index files to be resolved from the indexCache

pathCache creates one entry per `index.html` file, so the `index.html` files with the same path (e.g. as a result of multiple branches being served simultaneously) that are registered afterwards are disregarded, and saved in indexCache.

The issue is we are never looking anything up in indexCache when it is requested. It was impossible before this because there was no way to look up the required `app` and `branch` vars.

This PR adds that ability. As a result `HulaHoop.endpoints.index` can be called with two optional parameters to get the correct index file.

written by @jhudson8 and @patrickkettner


It seems that I should just close this issue now given our new understanding of the state of things... any objections?