Introduce event legendimageloaded in LegendImage and friends

Event is propagated in classes using LegendImage.