Need to register integer list as new metatype so that Qt's type system knows how to use it. Adding also additional constructors for the ErrorItem.