Medical Rewrite Progress

\>\> #1224 

- [x] All (critical) damage handling in non-scheduled environment
- [x] Unloading people from FFV seats.
- [x] Custom Event Handlers for things like unconsciousness etc. (#1369)
- [x] Use fn_doAnimation. (#1078)
- [ ] *Tweak fall damage (#812)* - **working in SP**
- [x] *Synchronise carrying animation (#111)*
- [x] *Alternative pain effect (#293)*
- [x] Consolidate treatment functions
- [ ] Basic AI support (#856)
- [ ] Treatment inside vehicles (#716)
- [x] *Screams for AI (#1196)*
- [x] *Option for MEDEVAC requirement (#1303)*
- [x] Reconsider AI unconsciousness (#1155)
- [x] *Tweak animations (#1474)*
- [x] Translation for fn_takeItem (#1492)
- [x] Enable individualisation of module options per unit.
- [ ] Random death with max unconscioussness time (#1550, #1572) - **working in SP**
- [x] Sometimes when you wake up on your own after going unconscious you are stuck in this weird animation (pic in issue) (#1572)
- [x] Going unconscious sometimes leaves you standing up or in the crouched position. While switching stances maybe? Sometimes happens when they're ejected from a vehicle. (#1572)
- [x] Going unconscious while in a vehicle but the vehicle not blowing up can cause a player to teleport back to where they were incapacitated once they are revived. (#1572)
- [x] Teleporting to [0,0,0] coords or other random places after being revived. (unknown cause and rare) (#1572)
- [x] Pressing TAB while treating people can cancel the action. (#1572)
- [x]  unconscious player sometimes would automatically respawn at where he became unconscious (#1590) 
- [x]  Make a different animation for self-treatment (#849) 

Functions not critical to this getting merged into master in italics
The sleep is earlier during the pain effect handling.