Metainfo support for units with scalar numeric quantities
The metainfo scalar values need to support units. This is important so that e.g. assigning Pint objects to such fields results in the correct conversions. Tests should also cover this case. In addition the supported numpy types should be restricted to a smaller subset: this ensures that no incompatible types are used.