Bug 1051513 - Fix update of webapp activity registration. r=fabrice

Remove all old activities for a given manifest before re-registering new ones.