Log errors to Sentry.

Add Sentry to Tornado handlers.
Use fork of raven until patch is accepted.
Reintroduce requirements.txt.
Restrict requirements in setup to minimal dependencies.
Use inline imports in invoke.