add afterLoadListener to synchronise multiple threads trying to access
not yet loaded gallery
fix multiple issues with galleryClass and async loading
Merge branch 'dev' of git@github.com:celements/celements-photo.git into dev