Fix change user interface example.

We need to expose all child QObjects and pages to the QJSEngine,
missed these when switching over from QScriptEngine.

Change-Id: Ic538d3f19da544c82093e630d7395bfc3e68da7a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>