[Fix #88 again] Set up DTD for HTML parser.

Invoking the HTML parser explicitly worked around one reference to
`AppContext`; however, to work around another, we need to set up the DTD
explicitly we well.
Use consistent return type (URL) for file/resources.

Accompanies `cider` #663.