Introduce event legendimageloaded in LegendImage

Event is propagated in classes using LegendImage.