This allows the use of std::find(), std::remove, and iterator methods. Code is more intuitive.
The only reason to have used getAccessory(aid) is to delete it, so the delete command is now invoked automatically. Function returns 0 on success (matching aid found) or -1 on fail (aid not found)