Replace old package.el kludges with new, better working ones.