bugzilla/bugzillarpc: prettify template

I extracted the template to an external file because heredocs break
indentation for the Stacktrace traces.