rhbz980670 Allow document types to have multiple extensions

Change `DocumentType` enum constants to take a list of extensions rather than a single extension (can be a list of one extension).

This includes addition of DocumentType.HTML as a reference type with alternative extensions.