add idf-weighting to cosine scorer

still performaing around 0.83 (should be >> 0.85). It's possible that there's
a bug in the implementation.