Sanitizing the event system and priorities

- Adding constants for common event landmarks.
- Reorganizing the priorities of events.
- Renaming PrepareRequestBody to Prepare
- Renaming several other event methods to be consistent.
- Some code cleanup.