Simplify using notebook static files from external code.
Merge pull request #2932 from takluyver/get-static-files

Simplify using notebook static files from external code