Enabled JSON writing of IDictionary and Numbers.

Integer, BigInteger, Single, and Double.
Added test for JSON writing with custom handler.

Fixed bug in WriterFactory.Handlers