Pain-check

This fixes #7781 by interrupting activities/sleep when you take pain.  (Taking damage would ordinarily handle that, but stuff like defective bionics, acid precip (when it returns), etc!)

Might go better in creature.cpp's mod_pain; I'm not sure if NPCs handle that yet.