Changed the way jk_encode_write1 is handled so that the optimizer is able to do a better job.  Also modified jk_encode_printf to fix a potential bug wrt/ va_end, and used a va_copy() to make a copy of the varArgs.  This is needed if the first vsnprintf overruns the buffer and we need to call it again, the first call may leave the passed varArgs in a state that is unusable by the next call- hence we make a va_copy and use the copy on the second call.  Also did some tidies on various jk_encode_write|print functions.
Changed the way jk_encode_write1 is handled so that the optimizer is able to do a better job.  Also modified jk_encode_printf to fix a potential bug wrt/ va_end, and used a va_copy() to make a copy of the varArgs.  This is needed if the first vsnprintf overruns the buffer and we need to call it again, the first call may leave the passed varArgs in a state that is unusable by the next call- hence we make a va_copy and use the copy on the second call.  Also did some tidies on various jk_encode_write|print functions.

nyimbi/tilemill,nyimbi/tilemill,apptentive/apptentive-ios,fxtentacle/tilemill,fxtentacle/tilemill,isaacs/tilemill,florianf/tileoven,Zhao-Qi/tilemill,Teino1978-Corp/Teino1978-Corp-tilemill,tizzybec/tilemill,tilemill-project/tilemill,firstp2pdev-public/JSONKit,ajostergaard/ControlPlane,tilemill-project/tilemill,tizzybec/tilemill,hibu/apptentive-ios,Zhao-Qi/tilemill,ajostergaard/ControlPlane,mbrukman/tilemill,ajostergaard/ControlPlane,tizzybec/tilemill,tizzybec/tilemill,MappingKat/tilemill,Teino1978-Corp/Teino1978-Corp-tilemill,mbrukman/tilemill,EadkennyChan/JSONKit,ALHariPrasad/apptentive-ios,paulovieira/tilemill-clima,nyimbi/tilemill,MappingKat/tilemill,paulovieira/tilemill-clima,Teino1978-Corp/Teino1978-Corp-tilemill,sahara108/apptentive-ios,tilemill-project/tilemill,mbrukman/tilemill,MappingKat/tilemill,hibu/apptentive-ios,Empora/JSONKit,ajostergaard/ControlPlane,Jawbone/apptentive-ios,nyimbi/tilemill,nyimbi/tilemill,Zhao-Qi/tilemill,fxtentacle/tilemill,Jawbone/apptentive-ios,isaacs/tilemill,mbrukman/tilemill,isaacs/tilemill,MappingKat/tilemill,Zhao-Qi/tilemill,fxtentacle/tilemill,paulovieira/tilemill-clima,mbrukman/tilemill,Zhao-Qi/tilemill,ignazioc/JSONKit-NoWarning,florianf/tileoven,Teino1978-Corp/Teino1978-Corp-tilemill,sahara108/apptentive-ios,Teino1978-Corp/Teino1978-Corp-tilemill,apptentive/apptentive-ios,paulovieira/tilemill-clima,florianf/tileoven,ALHariPrasad/apptentive-ios,paulovieira/tilemill-clima,fxtentacle/tilemill,tizzybec/tilemill,MappingKat/tilemill,hibu/apptentive-ios,apptentive/apptentive-ios