abstract sensor_touch initialization into a shared sensor_reset function
make sensor_stage resetable and honor the negation flag, fixing behavior of unset team/stage fields in the process
make sensor_end resetable and honor the negation flag