Added the 'format' and 'dir' arguments to the structure.pca user function.
This is to the front and back ends.
Authored by: bugman 2015-11-25
Parent: [r28106]
Child: [r28108]