Add support for caching in chtofr.py

caching speeds up filescanning; avoiding need to query db
hundreds of thousands of times
Initial commit of chtofrscan.py

Basic sketch contained in comments