Inject requirejs in notebook and start using it.

Not sure if we want to inject requirejs in one step everywhere or step-by-step in multiple PR each of which would refactor only a few files.