Avoid integer overflows with very long strings
Don't call strlen twice

Oops.
Fix an off-by-one error
doc: Set all memory to zero in secure_free
Merge branch '2.5'
Add json_boolean_value as alias for json_is_true

Fixes #146.