Add initial refactoring of xmi2qt templates files

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