stats script with graph output

Add support for graphics formats in otrs.GenerateStats.pl