feat: per-function stats and debug log mode
- by_function breakdown in summary (getResources, getEvents, etc.)
- Debug mode logs each call: function, source, duration, params to ade_cache_debug.log
- enableCacheDebug() shorthand on AdeWebAPI
- Fix mergeBuffers to handle by_function nested structure
- 5 new tests (19 total for CacheStats)