discard units from Tango devices when they are not defined in pint registry
This avoids bugs when initializing the unit. I'm not very happy with the way it is implemented, if someone has a better idea...
Slightly modified Device.within_tolerance to be more robust
Edited by Jerome Carnis