Modify deps listing and sorting to use the same set of dependency types.
Add list-peerdependencies, sort-peerdependencies, list-optdependencies, and sort-optdependencies commands. #5