bst fmt: Add basic functionality

Adds basic functionality for `bst fmt`, formatting the yaml files of
elements

TODO:
* Weird issue in yaml dumping - see #767
* Add a check option, which just checks if format correct
* Add a canonical order of top-level nodes on a per project basis
5 files changed