#562 copy over sdk jni changes
#562,#563 app and sdk ready for composing status
#568 Make sure all cursors are closed
#562 fix wrong method name in javaapi
#562 wrap composing states methods for OPConversationThread
#562 add missing function OPComposingStatus.getComposingState()
#562 fix crash when detaching thread in onConversationThreadContactStatusChanged