Tools - fix uvision DeviceId - handle None condition
Tools - fix uvision DeviceId - handle None condition

Fixes #54. We should add more handling, as this is mainly different for
uvision5. Definitions should recognize that the template there is uv4 or uv5,
report error if the wrong parser is selected.

project-generator/project_generator_definitions,0xc0170/project_generator_definitions,ohagendorf/project_generator_definitions