Add dependency on declarative when build with Qt5
Introduce QML5 plugin for unit tests