Move UI things to the right places

We have a whole lot of UI stuff (templates, views, forms, etc.) that live in the wrong places, mostly for historical reasons. We need to figure out where these things should live and put them there.

This will potentially break in-flight UI branches, so it would be a good idea to agree on a time to do it.