Tidy up in preparation for upgrading to Rails 5.1
- Upgrade to Rails 4.2.10
- Upgrade dependencies
- Switch to using aws-sdk for paperclip
- Add markdown formatting to petition emails
- Split out email background jobs to separate Appsignal namespace
- Prevent boolean argument to prepared statement so partial index is used
- Improve lograge configuration and ignore spammy actions
- Harden bulk signature actions against attack