Enable Thin again (some bugs, but test rum more reliably)

This reverts commit e2e3fad5752f78c8af44d81a99a7a73c931f7a8e.
Added spec for importing a pdf
Fix: create pdf previews during import#upload