It adds talkaction /execute

In my opinion this talkaction is very useful for testing other scripts.
It moves function getPlayerFlagValue from lua interface to compat.lua