Save the editor and language state in local storage which persists over browser sessions. Fixes #55
Refactor code, no need for extra function
Update examples when restoring the state without overwriting the editor state.
Fix callback added to wrong call.
Merge pull request #92 from uwescience/domoritz-save-state

Save the editor and language state
Store the whole editor history, not just the latest content.
Merge pull request #93 from uwescience/domoritz-store-history

Store the whole editor history, not just the latest content