[debug] redirect debug output to any QIODevice

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
debug output

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
debug.js requires qt.core

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
[os] coreutils 6.x does not handle options after destination

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
[rpm] depends on coreutils

also set minimum tested cmake version

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
test_os structure was broken

also reautoindented

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>