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

Emphasis on the rudamentary.