Add manacost directive, update gruntfile, fix fatal error in deckentity