Linkify bugs

Custom filter to linkify bug numbers shown in the Treestatus UI 
I can't see any other uses of the |or ""| pattern - I think we can remove it, since tree.reason should always be defined (even if only as the empty string).