Adding read/write functions to PCA class. Update PCA test.

This commit will add PCA class read and write functions.
They are inspired from cv::Algortihm class.
The test of working is also included (not sure it is the right place and/or useful).
A question still remains: why PCA doesn't inherit from cv::Algorithm?