Toggle: add toggle state persistence

The "persist" data option allows a toggle element to
remember it's on/off state using localStorage or
sessionStorage.
Toggle: add persist docs and example
Test: add toggle persist unit tests
Merge pull request #4237 from patheard/persist-toggle

Toggle: add toggle state persistence