Added support for information retrieval (IR) based metrics.

Current support for: precision, recall and F1.
Just like to point out that I had quite a few hoops to jump.
Specifically with the Google  related classes (had to add altered versions).