tree-wide: remove Emacs lines from all files This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file.
shared: include what we use The next step of a general cleanup of our includes. This one mostly adds missing includes but there are a few removals as well.
use the switch_root function in shutdown removes code duplication also move switch-root to shared