Docs: add session timeout documentation
Session: store updated plugin settings on element

This allows other code to access the element's complete
settings rather than just the overides.
Merge pull request #4552 from patheard/docs-session

Session timeout docs and change to plugin init