Generate a public DSN from a template tag

@dcramer, is this how you deal with your `raven_compat` mess?