fix IPython capitalization
handle asynchronous or delayed loading of vega

in IPython notebook
Merge pull request #53 from minrk/IPython

IPython compatibility