Trim whitespace from hardware ids and add validation in UI

Description

It is possible to add new devices with hardware ids that include spaces. This should be prevented by adding validation in the UI and REST services.

Environment

None

Assignee

DerekA

Reporter

DerekA

Labels

None

Components

Fix versions

Priority

Major
Configure