Add filter for turning terms into icons

Add a filter that turns terms into Font Awesome icons, currently used
to turn the trend terms "up", "down" and "flat" into their corresponding
icons. Also fixes the description of numToTrend tests.