Ref the event list before iterating over the scripts
Ref the event list before iterating over the scripts

This is necessary to make sure the list stays alive even when a script deletes
it. The sick misteries of hiding random code execution behind seeminlgy innocent
function names. Man, that was a tricky segfault to find.
It even made me add more checks. ;)

freedesktop-unofficial-mirror/swfdec__swfdec,mltframework/swfdec,freedesktop-unofficial-mirror/swfdec__swfdec,mltframework/swfdec,freedesktop-unofficial-mirror/swfdec__swfdec