Fix documentation syntax error and two warnings

This fixes a syntax error in the documentation which caused the SENTRY_REDIS_OPTIONS example to disappear. I also saw two sphinx warnings about missing escaping which I also fixed.