module: rename module group names

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
core: insert static assert

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
module: compile time check for group_to_str

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>