Fix return value of epl-upgrade
Split EPL implementation
Backport EPL to legacy package.el
Improve function naming