Cardslib: use own getCount and getItem

Change-Id: I19696a80769ec73dfe31646d66f1d3ac32bd40e7
Merge branch 'kk4.4' of https://github.com/SlimRoms/frameworks_opt_cards into kk44