Refactored data loading

Matija Obreza requested to merge page-load-hook into main

I added a generic hook to load paged data based on what we had in useAccessionLoader.

Please review.

Merge request reports