Add code to convert HistoryItem to PageState
Created attachment 233729 [details] Patch
Committed r170387: <http://trac.webkit.org/changeset/170387>