Autosave

Adds autosave for previously created posts
Adds previews for posts
Adds JS alert when leaving a page with unsaved content
Is this unsaved_changes class adding any actual styles? Or are we using it simply as an indicator of state? If so, I'd rather we use a data attribute for this. E.g:
```
form.data("unsaved-changes", true)
```