Hg given insert

This adds a new helper whenInsertingHTMLOf which replicated the behaviour of calling insertHTML instead of directly setting innerHTML. Functionally, it is the same as givenContentOf
Perhaps call this `insertHTML` so it is consistent with the method name on Scribe, as is `setContent`?