Make unit tests work in qt5 environment
Fixed building unit-tests on qt5
Added import for QML2
[qtmozembed] Merge test fixes from upstream 'tmeshkova/master'