Fix resolving of script types in mmbot.core
Fixing broken tests
Merge pull request #1 from mmbot/master

merge