svr4pkg changes - Did my best to rebase. Now includes the latest changes made to devel, al...

...ong with my change of adding category option to module

Since I am not great at git I had to close the other request to get this pushed. To see past comments and history on this commit look at 

https://github.com/ansible/ansible/pull/6659