Add device_id parsing in xmlparser.lua

This adds the attribute device_id in xml image definitions..

Signed-off-by: Daniel Schnell <daniel.schnell.extern@ifm.com>