simplify how the json parser works

add cx_array_reserve() and several more array convenience functions

make cx_array_copy() support different types for size/capacity - fixes #492

(0) -300 -100 -30 -10 -3 +3 +10 +30 tip

mercurial