Implemented setting html content with innerHTML hack.

If the resource is HTML, I noticed `setContent` does not update the document. This is one way around that. 
Also added error logging when the `match` property isn't supplied.