refs #8491 - added documentation to twitter-topics example. More documentation to src code. Fixed bug in LegendResource.