container/lxc: Removes volatile device keys when device is actually removed
container/lxc: Removes volatile device keys when device is actually removed

Or when a device is updated such that its device type changes.

It will also ensure that if the device type remains the same but the new device's config replaces an old volatile key that the old volatile key is removed.

Fixes issue where hwaddr property was left even if device type changed.

Signed-off-by: Thomas Parrott <6b778ce645fb0e3dde76d79eccad490955b1ae74@canonical.com>

stgraber/lxd,stgraber/lxd,stgraber/lxd,lxc/lxd,lxc/lxd,Skarlso/lxd,atxwebs/lxd,lxc/lxd,stgraber/lxd,hallyn/lxd,stgraber/lxd,lxc/lxd,hallyn/lxd,hallyn/lxd,lxc/lxd,atxwebs/lxd,Skarlso/lxd,mjeanson/lxd,stgraber/lxd,Skarlso/lxd,lxc/lxd,mjeanson/lxd,hallyn/lxd,atxwebs/lxd,atxwebs/lxd,mjeanson/lxd,hallyn/lxd,stgraber/lxd,lxc/lxd,Skarlso/lxd,hallyn/lxd