tweak custom error handling

register Custom404 as fallback handler for '.*'

as recommended on the tornado list
link non-notebook files in tree view back to GitHub

and give external links an icon that suggests this