fix(upgrades): now stores ElggUpgrade by paths instead of full URLs

Storing upgrade objects by complete URLs can be problematic if the site
URL changes.

Fixes #6838
Merge pull request #7207 from mrclay/6838

fix(upgrades): now stores ElggUpgrade by paths instead of full URLs