Bug in child_moved event when caused by .priority in set
Fixed error in priorities for child_added events triggered from pre-existing records.
Fix prevChild keys for pre-existing data with priorities
Refactored/simplified handling of change events