Create a basic field macro, start cleaning up edit template

Move all exist macros at the top of the template, but will move them to includes/macros.jinja2 later

The field macro is used on most of the fields, reducing the edit.jinja2 file quite a bit