Integrate Sphinx into the build system.

Refs #5774
Fix installing htdocs files.

Refs #5774