More page caching work. tree view json only fetches the json it needs.
Take config file into account for caching. Don't cache contact or gedcom pages
v02 work