chore(datalist): Add global vars statement to fix `loadAll()` method

This is considered a chore because the issue it fixes was introduced
during development and never released, so it should not go in the changelog.

Refs #7457
Merge pull request #7459 from ewinslow/oo-datalist-fixes

chore(datalist): Add global vars statement to fix `loadAll()` method
chore(cache): Add some nice new internal APIs for caching