Model reset fixup to use begin/endResetModel

Which is how you are supposed to reset a model and works
on QT 4 as well as QT 5.