Improvements to ResourceHandler

* use Path api for FileResourceManager
* add support for index files
Make directory listing work on non-chrome browsers