Display preview loading state until document rewritten. Timeout request for preview assets in case of error.
Merge pull request #486 from prose/preview-error

Display preview loading state until document rewritten. Timeout request ...
Merge branch 'master' into gh-pages
rebuild