Multiple improvements in the core.

* Add support for loadable modules.
* Add utility functions for gathering sorted directory content
  and for asserting variables.
* Rework handling of "breadth" jobs (those executed for all
  depedency graph before going further).
* Rework comments.