Fix crash caused by animations with no frames

Fixes #1205
Add "untransform_on_hit" boolean to power definitions

This is useful for flare-game's Stealth power, where being hit
"uncloaks" the player.
Merge pull request #1206 from dorkster/animation

Fix Animation crash and add ability to untransform when hit