Calculate Alchemy XP based on potion stage

Adds #1926
Fire brew event after outputs have changed

and before experience is granted.
Part 2 of fixing #2041