Move HistoryItem state setting to FrameLoader.

HistoryItem state is mostly set based on Document state. Let FrameLoader do
this, instead of HistoryController having to reach so far to get it.

BUG=321280

Review URL: https://codereview.chromium.org/83333006

git-svn-id: svn://svn.chromium.org/blink/trunk@163129 bbb929c8-8fbe-4397-9dbb-9b2b20218538