Save some meta information with state object

Some meta properties of the document are stored as string value on state object and set to the document automatically on pjax load or popstate.