Add support for Ansible 2 to the py_pkgs lookup plugin. An additional
LookupModule class is used to maintain compatibility with Ansible 1.x.
The run function of the module has been broken into smaller functions to
ease reusability between both versions.
Change-Id: Ib5869485d7f7fe396942ae0151ed89454240f7bf