xmlui: Serializing: provide information about module types
xmlui: Serializing: provide information about module types

Each module now contains more detailed information about its type.
This concerns the unit, optionally range and enum values (based
on its nature).

The unit is represented as attribute type-unit="<unit>".
The range is represented by 3 attributes type-range-min="<number>",
type-range-max="<number>" and type-range-step="<number>".
For enums, the particular values are given as attribute
type-enum-values="{<key>:<label>;}" where the <key>:<label>;
pairs are repeated.

Signed-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>

BeeeOn/server,BeeeOn/server,BeeeOn/server,BeeeOn/server