Improvements on PCA code

Improvements on the implementation of PCA code:
- Center the similarity matrix.
- Emit only half of the elements on PCA example, reconstruct the matrix using the symmetry property.

Fixed errors that prevented from merging with main.
- Upgrade to scala 2.10.4 to prevent errors with sbt.
- Stop SparkContext on all examples.