Fix Ubuntu bug in pkg.purged, pkg.removed states

17e35529 introduced a bug in which a nonexistant kwargs dict was being
referenced in the pkg.purge and pkg.remove functions. This is a blocker
for pkg.purged and pkg.removed states in Ubuntu.

I added kwargs to the pkg.purged and pkg.removed states, as well as to
each pkg provider which had a purge or remove function.

Note that this commit contains a lot of the same pep8 fixes that I made
in pull request #3311, so let me know if you want me to rebase once this
is merged.