[Card] Use own "findIndex" implementation
Array.findIndex has only been added in Qt 5.9 [1]
[1] https://doc.qt.io/qt-5/qtqml-javascript-functionlist.html
Differential Revision: https://phabricator.kde.org/D11707