Fix bug #330 (Calling FileIndexManager.getFileInfoList() fails if another such call in progress)

Fix bug #330 (Calling FileIndexManager.getFileInfoList() fails if another such call is in progress):

Keep track of existing index-sync promise so we can just wait on it instead of failing.  Includes unit test.