transmit options to JSONWriter

Make NotebookWriter inherit from IPython.config.Configurable and
transmit the value of ensure_ascii to json.dumps