Enhance handling of --nodeps

Missing post-dependencies should not trigger errors under --nodeps.
Test the sorting of components.

Ensure that errors are handled, and --nodeps is honored correctly.
Merge pull request #2 from piojo/nodep-fix

Fix bug when handling post-dependencies with --nodeps