msgs: various fixes
msgs: various fixes

Optional returns None on creation.
Optional sets field to None if not present.
Field name is checked within each field now.

Signed-off-by: Michael Walle <80e54fab1167aac9a5a5dfc5e0e0a3e5102ca3bd@kontron.com>

kontron/python-ipmi