Fix sql syntax error if json contains simple quote when recording an event

Fix sql syntax error if json contains simple quote when recording an event.
Cf : http://stackoverflow.com/questions/1296180/android-quotes-within-an-sql-query-string
Fix issue : https://github.com/Countly/countly-sdk-android/issues/13