Rename aAddonDetails to just aAddon, and replace all uses of aId/aVersion/aType with aAddon.whatever - that way we can more easily use additional properties on this object in the future.

(Still need the error checking for properties we're using though.)