Kexi: Enable KREPORT_SCRIPTING in reports and switch to updated api

Authored by piggz.

Description

Kexi: Enable KREPORT_SCRIPTING in reports and switch to updated api

Staniek's additions: fix crash in KexiDBReportData::value() and connect to prerenderer's groupChanged().

Differential Revision: https://phabricator.kde.org/D242