Move cJSON to platform

Change-Id: Icda328c7c450291d5cc139757e422a3a3e817fa6
Reviewed-on: http://review.couchbase.org/34632
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>