Some changes to make it possible to write scripts that are includable from other packages to display information on bugs. Unfortunately, the bugtracker was written from the POV that you'd never want to do such a thing, and is so poorly written that even with these changes I had to do a bit of ugly hacking in my include code.