support extracted output in HTML template

allows

    ipython nbconvert --to html --ExtractOutput.enabled=True

to work properly without any b64-encoded data.
fix jpeg/jpg typo in ExtractOutput
Merge pull request #5245 from minrk/multi-file-html

support extracted output in HTML template