Move doPlayerAddMana to compat.lua

Fix bug with creature:addMana default value for animationOnLoss
Code cleanup