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?).
Yeah you should do runscript on a library (module). As long is it doesn't affect helper scripts for skins and so on