refs #15246 cache ActiveX constructor.

Cache the document parser type to improver performance. If the cached
parser fails resume search for a compatible parser.