Change mapreduce to calculate a similarity data

- also add a pcaServlet which consumes the similarity data and runs pca
on top of it. this will make a graph at a later point.