Implement document.createProcessingInstruction

Spec:
http://dom.spec.whatwg.org/#dom-document-createprocessinginstruction

This is a sub-task for #1428.