Support for primitive (non-Object) captors in littlemock

The LittleMock captor does not support primitive types
such as int -- the respective code crashes with a
NullPointerException.

This CL implements an approach for avoiding this problem
in a way that stays as close to Mockito syntax as possible:

- the generic capture() works for primitives as well;

- we create the ArgumentCaptor with the same basic approach
  as Mockito does it, from a class object of type T:

  <T> ArgumentCaptor<T> LittleMock.createCaptor(Class<T> clazz)

  ( Mockito uses ArgumentCaptor.forClass(Class<T> clazz) )

Change-Id: Ie8c234466e63adf533d863be2b74d3516ecc9947
am 00e20ef3: Support for primitive (non-Object) captors in littlemock

* commit '00e20ef3c702f7388c98bdeee300d218c7871f4d':
  Support for primitive (non-Object) captors in littlemock
am e028ec16: Fix app cache dir guessing.

* commit 'e028ec166b5a270d0c330800d12a270494176fdf':
  Fix app cache dir guessing.
am ef05251b: Support for primitive (non-Object) captors in littlemock

* commit 'ef05251bc732a206bd6ba19110277045767482fd':
  Support for primitive (non-Object) captors in littlemock
Patch LittleMock for change in internal methods

Bug: 8297640
Change-Id: I0a18ec915ec69170e8a4cfc80a211fd07be9df00
Merge tag 'android-4.3_r2.1' into jellybean-mr2.1

Android 4.3 release 2.1