The QML engine was taking ownership of Account objects, and garbage
collecting them when it was done with them, thus causing a crash when
the C++ accessed them. Fix by explicitly marking Account objects as
being owned by the C++ so QML doesn't garbage collect them.