Make parser name available in the document object

This helps when you are not quite sure what sort of object you are getting back; such as when an ESRI server returns a WFS response to a WCS GetCapabilities request, which I have seen on servers in the wild.
Merge pull request #1211 from eykamp/addrequesttype

Make parser name available in the document object