Fixes with the statistics plugin

This will hopefully make the statistics plugin better. It adds a new matrix type that can handle strings as well so a matrix containing data represented by a string can be shown in the matrix editor. It also makes the interaction between the chart and matrix editor better. The last thing worth mention is that it together with  my pull request to cheminformatics make it possibly to make plots from the SDF-editor.