Issues/uat 168 pca show all p cs

This branch fixes two issues both dealing with components of a PCA analysis not being shown. This includes a bug-fix in the PCA R-script, whereby the plot was set to show no more than 10 components, and a bug-fix by Ruslan which addresses the issue that result-files generated by the R-script were not rendered by the front-end beyond the ninth file.