Merge pull request #238 from twosigma/dev-internal

Dev internal
Merge remote-tracking branch 'origin/dev-internal'
Merge remote-tracking branch 'origin/dev-internal'
Minor, remove unused variables
Merge remote-tracking branch 'origin/dev-minor'
Merge remote-tracking branch 'origin/dev-internal'
Fix an ipython plugin reconnect issue after using requireJS for loading modules
Merge pull request #248 from twosigma/hotfix-ipython-reconnect

Fix an ipython plugin reconnect issue after using requireJS for loading ...
Fix a bug preventing creating new notebook when a new noteobok is opened