Fix unsafe SQL query in search suggestions controller.
Re #149: Spawn background process to save new attachments to S3.