Made the battle actors unable to dodge when stunned.

I also added sanity checks and made the corresponding functions returning saner values
according to the case.

Fixes #314