Fix most remaining bugs in qml support

The QML interface can now be seen as _mostly_ done. All C++ unit tests
pass. QML unit tests also pass except for reconfiguration, which needs
to be carefully designed. For now, property access from QML bypasses
the Into's protection mechanism and caching, which isn't acceptable in
the long run.