Write JSON with O(1) granularity and memory.

* Class Writer writes JSON with O(1) granularity and memory.
* Classes Array and Object are RAII wrappers for the JSON Writer.
* In pursuit of RIPD-439.