Move shared macros in a central place

My initial idea was to move them to includes/macros.jinja2, and "pull" them in, in the edit template.

Unfortunately this is not supported, shared macros can only be in the layout base template.