This MR adds a new dependence to the software stack of bdt, called
docformatter. It complements black in re-structuring source code (mostly for docstrings, which get badly formatted with that tool).
It also cleans-up unused imports in scripts/local and applies DRY for loading order files.
It also applies the results of passing black followed by docformatter on all source code.