Adds function for creating a page from a string.

This adds a function for creating a HtmlPage from a string. This is particularly useful when testing code that uses yokogiri.