Added sentry hook

Added a hook to log errors to sentry, it depends on getsentry/raven-go.

For printing purposes, it can be easily removed.