editor: move includes to where they are used.
auto-indent: add a rudimentary xml indenter

Emphasis on the rudamentary.

https://bugzilla.gnome.org/show_bug.cgi?id=738038