Merge pull request #3163 from archtaku/issue2906

Add multiple-package support to pkg.latest state
Merge pull request #3164 from archtaku/issue2906

Add multiple pkg support to pkg.latest (pacman)
Add mutli-pkg support for pkg.latest (yumpkg5)

Also made some docstring tweaks to a few other files.