MRG rename cosine_kernel to cosine_similarity.

 Also make the test actually do something.
Fixes #732.
Did a git grep. Tests seem to pass.