Test correctness of average_precision_score.
Merge branch 'master' of github.com:scikit-learn/scikit-learn