fix script.library type missing in runscript/runaddon checks.

Fixes regression introduced in 670fb8f4c37ec6d6ca as detailed in forum: http://forum.kodi.tv/showthread.php?tid=207467

Adding that log line exposed other issues e.g. @MartijnKaijser in `service.xbmc.versioncheck` you call RunScript on itself, a service addon, and not a script (what does that even mean?).