Autosave

Adds autosave for previously created posts
Adds previews for posts
Adds JS alert when leaving a page with unsaved content
Would prefer to combine these two conditionals if there's no reason to separate them.

```
if autosavable.autosave && !params[:autosave].present?
```