IPython compatibility

fix IPython 1.0 compatibility:

- allow async load of d3 / vega, using events to trigger draw if draw is requested before vega is available.
- fix IPython capitalization