Add a local firehose for indexing local files

This pull request enables finding files on local disk and building segments from them.
This pull request also fixes broken chat handler resources not correctly registering themselves.