ANDROID-2252. Cleaned up CookieUtil.

Removed unused methods, made methods static, added utility method.
Unrelated: Fixed generics warnings.

Change-Id: I6a3d71f1f2896c20d11810dee719a8ecbbdb3c97
ANDROID-2260 Remove unreferenced classes

Change-Id: I0328af1dc8f943037ac96199ee720ae6e3a31816
Merge "ANDROID-2260 Remove unreferenced classes" into develop
ANDROID-2264. Added close methods to make cleanup easier.

JiveCore and JiveCoreUnauthenticated now know how to clean up their HttpClients.

Change-Id: I61f4c87a253d54dea0a6cc1bab2c3e1bda3bcd76