Rearrange library dependencies

- Metamodel classes moved to plugin libraries
- QtQml and QtScript dependencies only in plugins

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