Improve yum module perfomance

The result of the `what_provides` function is filtered to use only the most recent version of each package.
When a package has a huge list of versions available, it will only test if the most recent is installed.

I tested with the following task:
```
- name: "Update yum and plugins"
  yum-devel:
    name={{ item }}
    state=latest
    enablerepo=epel-yum-rawhide
  with_items:
    - yum
    - yum-plugin-fastestmirror
```
Repo file here: http://repos.fedorapeople.org/repos/james/yum-rawhide/epel-yum-rawhide.repo

Before this change without repoquery: 3m57s
After this change without repoquery: 34s

Before this change with repoquery: 4m20s
After this change with repoquery: 20s