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


Well, alternatively, to remain compatible, pathCache could keep a reference to the first known app/branch so that if the values weren't provided, it would just use that (or, depending on how we want to go - throw an error if multiple branches are registered).

That way, it would still be able to be compatible with existing code.