Fallback to QSortFilterProxyModel in pre-4.8 Qt.

It works just as the QIdentityProxyModel, just slower.

This way, we stay compatible with Qt 4.7.