Add signals in automatic metamodel code generation

Change-Id: I70abe3554a34dd405238616524aa80bebe8a65bc
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>