PLAT-6662 - Intern failure stack traces

Stack trace strings attached to Failure instances can eat a lot of heap in a malfunctioning server (e.g. with a lot of missing market data). Many of these are duplicated, so interning them saves memory.