Adds Sentry to the application.

It depends on the SENTRY_DSN environment variable being set.