api: groups: add comps.Package, add group.package_iter(). (RhBug:1079932)
cosmetic: move stuff around in comps.

alphabetical ordering of same-level classes.
api: explain that Base is a context manager with a close().
tests: fix terminfo capability independence.
tests: refactor: make Term tests more isolated.