Improved short/extended rest behavior.

Added handlers for the short/extended rest events, and also corrected short rest to clear temp hp.