Check for pet_midaction on aftercast.  Don't handle gear swaps if pet is
midaction, and don't reset the CustomClass yet.  Things will get finished up
on pet_aftercast.
Adjust handling of showSet, and where messages are pushed out.  Previously,
the midcast message didn't show up til aftercast started, which felt slow.
Change the warning color for notifying about not equipping gear.
Clean up and refine all commenting, while reviewing the code order for basic
precast/midcast/aftercast/pet handling.
Clean up parameter string reference and usage.
Add a pet_midcast setting for showSet.
Instead of inserting a global customization in the main include file, allow
a global user_status_change function to be called.  This function should be
in the UserGlobals file.
Add a global function on status change for handling creating death timers.
Moved out of the main include.
Instead of inserting a global customization in the main include file, allow
a global user_buff_change function to be called.  This function should be
in the UserGlobals file.
Add a global function on buff change for handling creating death timers.
Moved out of the main include.
Change from a numbered for loop to using ipairs, for iterating over custom
groups.
Use :contains() for checking a set rather than [] lookup.
Add handling of setting ranged mode states.
Add a ranged mode option.
Move no skill spells to Mote-Mappings.
Rename spellMappings var to SpellMaps.
Remove unnecessary definitions for set vars.
Tidy and improve commenting.
Remove unused debug messaging.
Change to using :contains() for Set checks.