Cardslib: use own getCount and getItem

Change-Id: I19696a80769ec73dfe31646d66f1d3ac32bd40e7
Fixed call with a ViewToClickToExpand()
Fixed log on CardListView
LIB: Expand action for cursorAdapter

Change-Id: I699f4af56c1afb6ac6dc1127b5fb2091908a4e17
LIB: Expand action for cursorAdapter
#Fixed #104
LIB: DismissAnimation

Change-Id: I9d8f075f88e0dc3677264490aed18b028d6c0a68
LIB: Added a flag to disable the broadcast in CardThumbnail

Change-Id: Ie9448793b527bceb5cbb9277ed81ff43a9600adc
LIB: Added `ViewToClickToExpand.setupCardElement()` to enable the expand/collapse action on the default card elements

Change-Id: Iaa19b7aeb6458ed6eb4d25d5525907e1e556ab7c
LIB: Added a custom scrollListener for ListView and Swipe #98

Change-Id: Ib528114a6f8b3c7bf582577a29d00931074354cb
Cleanup

Change-Id: I634acb6699c40fa238a83da1f8ef166088eb5725
LIB: Added a ForegroundLayout
LIB: Added a ForegroundLayout

Change-Id: I969f7e9b39583af53657caffbe275b7f3e3f0fe3
LIB: Added the method getCardThumbnailView in CardThumbnail

Change-Id: I6704c377a9d53703941af30274f4a34e2cb496b7
LIB: kitkat styles

Change-Id: I63dfdccc234b9b420509485c330b8895cba6e91e
LIB: Fixed Overflow animation button
Fix new import RTL/LTR

Change-Id: I5d154cac26de8dd1ee35bb1c95bb760fa6a4dad9
push to 1.5.0 release

thanks gabriel

Change-Id: I4472d3552b520a3d990f28b190b5f5bd3aaf5ddc
Cardslib: CardsListView allow to touchevents from swipetodismiss for gesture events

due of this commit https://github.com/SlimRoms/frameworks_opt_cards/commit/40f08d2fd6c01d4979f2f205f4a527ecfa0f6543
which sets an overall touchlistener to our listview it broke our gesture detector in the recent tasks implementation.

We give here a general ability to assign  a gesture listener so that we can pass back the motion events
from the touchlistener.

Cleanest way and reduces in the same time the need from 2 touchlisteners to one

Change-Id: I973a4f3265c654e37543c482d0a3395eb67eda6d
Cardslib: do not pass trough touch event to gesture listener during swipe

New implementation allows us now to block gesture listener events during the user
is swiping. Way more consistent and solves as well a possible crash on SlimRecents
if the user is swiping the card nearly completely away and at the same time pinching
to clear all (well rarly will ever happen but save is save)

Change-Id: I1365f1b4113e5f764dbf38c9fe4476148de1d496