Limit latex equations to page width.
Fixed latex template to support multicol w/ adjustbox.
update hmac signature comparison

see https://docs.python.org/2/library/hmac.html#hmac.compare_digest
support Python older than 2.7.7
minor cleanup
warn users running older versions of Python
correction in widget.js
Add a requirejs shim for highlight.js

Before this, highlighting code in markdown cells was broken since hljs wasn't available.

A better solution might be to build the highlight.js amd module (i.e., build the highlight.js module with `--target=amd`) so that we don't need the shim.
restore websocket_url configurable

allows ws to be handled via separate proxies,
as appears to be the case on OpenShift and some other hosting services.
pass ws_url to kernel constructor

via session constructor via notebook constructor…
return global events from require(['base/js/events']).

In master, it is impossible to load code on IPython events without setting timeouts.
don’t use events !== undefined to signal page ready

it will always be defined
Trigger app_initialized event *after* the 'global' IPython object is initialized
preserve backward-compatible $([IPython.events])
don’t load custom.js in page template

we are loading it in require, and don’t want to load it twice
fix docstring in events.js

example shows registering a handler, not triggering an event.
note loaded, unused dependencies in require
use global events in js tests
use ask_exit payload in terminal console

avoid special frontend handling for ‘exit’

We really need to totally reconstruct how kernel shutdown works in the console interfaces, but at least this makes it behave as intended currently.
one more bit